Pages: [1]   Go Down
Author Topic: The Arduino Editor  (Read 445 times)
0 Members and 1 Guest are viewing this topic.
U.S.A.
Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I can't seem to figure out how to get using the Tab key to make a decent Tab.  All it does it make two spaces. I'd like it to be either 3,5 or 8 spaces, but as an actual tab character.  This bothers me!  But I'm sure there's a way to fix it!

Does anybody know how?
Logged

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 73
Posts: 7197
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I can't seem to figure out how to get using the Tab key to make a decent Tab.  All it does it make two spaces. I'd like it to be either 3,5 or 8 spaces, but as an actual tab character.  This bothers me!  But I'm sure there's a way to fix it!

Does anybody know how?

You must have read my mind. I was searching the forum to see if someone has asked this question. The tab is not decent. It should jump to fixed locations such as 2,4,6,8,10 instead of getting 2 spaces to the current locations. Right now if I push tab at location 1, I should go to 2,4,6,8 but I get 3,5,7,9. My inline comments don't line line up as they do in a decent editor like winedt.
Logged


0
Offline Offline
God Member
*****
Karma: 2
Posts: 596
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

In ~/.arduino/preferences.txt there's a line like this:

editor.tabs.size=4

(which unfortunately doesn't solve the annoyng "fake tab" issue... :-)
Logged

Pages: [1]   Go Up
Jump to: