Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 2
Message 1 of 3

saving tab character width?

Solved! Go to Solution.

My local editor (Notepad++) is setup to use 4 characters per Tab.

The default for the GitHub editor is 8. I can change it to 4 when I am inside the edit mode, but is there a way to remember that setting for when I am viewing it.

 

Related, but a different issue: can I force the browser's editor's real estate to be wider across?

 

Thanks.

2 Replies
Highlighted
Solution
Commander Lvl 1
Message 2 of 3

Re: saving tab character width?

GitHub supports .editorconfig files and will adjust its display of tabs according to your preferences.

Highlighted
Copilot Lvl 2
Message 3 of 3

Re: saving tab character width?

Great, thanks.

 

Created .editorconfig file in my parent folder as per the instructions in your link. 

Edited to include the files with my extension.

Pushed it into the repository.

The view changed indeed.