Topic : indentation trouble

Forum : Ride IDE

Original Post
Post Information Post
June 17, 2010 - 6:09pm
Guest

Hi,
I've installed the latest versione of Ride7 (7.30), but in the IDE, the editor doesn't display correct the indentation width of my old source files.
I've tried to modify the Editor preferences but, when I press the TAB key the editor adds always 4 spaces even if I modified the indentation width. Older TAB included in the old source files are displayed as 8 spaces invariant.
What can I do to solve problem?
Thanks.
Best Regards,
Sergio

Replies
Post Information Post
+1
0
-1
June 18, 2010 - 9:18am
Guest

Hi Sergio,

Could you please set "Options|Editor|Show indentation guide" to true and send a capture of the editor to support at raisonance.

Best regards,
Behnaz

+1
0
-1
June 18, 2010 - 10:24am
Guest

Sergio,

In this version of Ride7, there is no option to modify the tabulation width, but only the indentation width. The tabulation width is set to 8 by default. In order to be able to modify the tabulation width, you can:

1. Edit %APPDATA%\Ride7\editor.config and %RIDEINSTALL%\Config\editor.config.

2. Modify the "All Languages" settings with adding this new property under "the indentation width"

Best regards,
Behnaz

+1
0
-1
June 18, 2010 - 11:26am
Guest

Hi Behnaz,

Thanks for your solution.
Now the problem is solved.

Best regards,
Sergio