# How to convert tabs to spaces in Notepad++

So, the very first project that I was exposed on, as a professional, included, among others, YAML and as you obviously know YAML has a strict syntax.

Notepad++ is till now, my favourite editor, but it comes without something that is very useful to the case that we ‘re investigating today, a “Tabs to Spaces” plugin/feature (I found that the one provided under the Edit -> Blank Operations menu was missing basic functionality).

There is a solution, though, come along!

• First of all, we have to download the plugin.
• We then copy the CLRTabsToSpaces.dll from the .zip file that we just downloaded into \path\to\Notepad++\installation\plugins folder.
• If Notepad++ is open, we have to close it and restart it again, in order to let the software track the changes.
• Navigating to the “Plugins” menu, we should see something like below:

That is, we have set properly our plugin, so to get it working, we just follow the above screenshot, to get the tab characters be converted into spaces.
Note: it’s better to edit such code snippets, having enabled the “Show all characters” button:
And a small example (sample code from here ):

 Before applying the plugin.

 After applying the plugin.

Cheers!

# Git: Hot to solve fatal: unable to access [url]

So today, while trying to push the latest commit for my last JSF tutorial here, I got an error like this:

fatal: unable to access 'https://github.com/toubou91/JavaCodeGeeks_examples.git/': SSL read: error:00000000:lib(0):func( 0):reason(0), errno 10054

After a small investigation, I found myself reading this thread but the question persisted, as I knew that I had configured properly both my local repo’s .git and git’s .config file, so I tried pinging my remote repo from a browser.

I noticed that I was prompted to insert my account’s credentials (so the reason was that I have been logged out from my remote repo and the local push couldn’t match the destination).

After signing-in again, git push succeeded!

Cheers!