Author Topic: [v1.6.9] Inline Function template is not indented to built-in editor spec  (Read 622 times)

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1544
  • RTFM
This is an old one, but it's annoyed me plenty of times by now: :P

The templates for the Inline Function editor are indented with tabs, but the editor itself will use 4 spaces instead.

This means anything added to the template under "main" will be offset by one space.


Ironically, the templates for plugins("VATestPlugin" and "VATestPlugin_VB") are actually indented with 4 spaces.


Personally I prefer tabs, as I feel that gets far less messy.
« Last Edit: March 22, 2018, 07:21:51 pm by Pfeil »

Exergist

  • Sr. Member
  • ****
  • Posts: 331
  • Can you dig it?
Seconded! This would be a welcome fix. Like Pfeil I also prefer tabs as it better reflects how Visual Studio and other IDEs handle indenting.

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 1705
VA is using a third-party component to do the editor stuff.  I'll have to look into it ;)

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 1705
I think this is fixed.  Will be in next release.  Thanks for the heads-up!

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1544
  • RTFM
Fixed in v1.6.9.25, editor now uses tabs for indentation, and the template is aligned properly.