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

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4759
  • 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, 08:21:51 PM by Pfeil »

Exergist

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 405
  • Ride the lightning
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: 2824
VA is using a third-party component to do the editor stuff.  I'll have to look into it ;)

Gary

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

Pfeil

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