elvirbrk / NoteHighlight2016

Source code syntax highlighting for OneNote 2016 and OneNote for O365 . NoteHighlight 2013 port for OneNote 2016 (32-bit and 64-bit)
GNU General Public License v2.0
3.79k stars 393 forks source link

No way to change indentation depth #99

Open qaptoR opened 4 years ago

qaptoR commented 4 years ago

Currently, even though in the editor, with new code, the tab indents are 4 spaces, once it's "published" to the Note the tab indents become 6 spaces.

This is not a major issue... more stylistic, as well as functional. The deeper the indents the more screen width necessary to see each line of code. For me, this can be an issue since I automatically indent all significant code two levels deep so that I have plenty of room for my custom commenting style.

Would be nice to have the option-- like with most code editors --to adjust the tab spacing. Everyone likes there code to look a certain way, and in our notes that will be no less different.

TonyGravagno commented 3 years ago

I didn't know the formatting does indentation. I'm not seeing it in PHP. But +1 on this request. In an IDE I like indentation with 4 spaces = 1 tab per level. But in OneNote I'd like the option to format with indentation at 2 spaces per level. TYVM