Fix tabbing

Post your requests and ideas on the future development of mikroC PRO for PIC32.
Post Reply
Author
Message
iceisfun
Posts: 5
Joined: 20 Aug 2013 06:52

Fix tabbing

#1 Post by iceisfun » 29 Aug 2013 22:00

Like a normal ide, make tab work

Also options for conv tab to n spaces might be helpful

User avatar
marina.petrovic
Posts: 2986
Joined: 18 Apr 2013 08:11

Re: Fix tabbing

#2 Post by marina.petrovic » 30 Aug 2013 13:11

Hi,

Please, take a look at:
mikroC PRO for PIC32 -> Tools -> Options -> Editor Settings -> Advanced Editor Options
Display: Line spacing/ Tab spacing

Also you have Smart tabs and Smart tab delete options (Advanced Editor Options -> Options).

Did you experienced some problem with tabs in mikroC PRO for PIC32?

Best regards,
Marina

BandicootCrumplehorn
Posts: 5
Joined: 27 Sep 2013 08:48

Re: Fix tabbing

#3 Post by BandicootCrumplehorn » 27 Sep 2013 15:20

Like a normal ide, make tab work
I'll second that, I get all kinds of weirdness happening with tabs. Sometimes they are big, sometimes they are small. I've tried changing the advanced options but it doesn't seem to make any difference.

User avatar
marina.petrovic
Posts: 2986
Joined: 18 Apr 2013 08:11

Re: Fix tabbing

#4 Post by marina.petrovic » 30 Sep 2013 13:40

Hi,

Please, can you explain me a little bit more where the problem occurs?

Did you try to disable "Smart tabs" and "Smart tab delete" options?
Tools -> Options -> Editor Settings -> Advanced Editor Settings -> Options

Best regards,
Marina

BandicootCrumplehorn
Posts: 5
Joined: 27 Sep 2013 08:48

Re: Fix tabbing

#5 Post by BandicootCrumplehorn » 30 Sep 2013 13:57

Hi Marina,

I've found that disabling Smart tabs makes them all the same size, which is an improvement for sure.

Tabs are still turned into spaces though (though if you copy and paste code with tabs into the editor they behave like tabs). I'm done for the night now but when I'm back in the office tomorrow I'll check what settings I'm using and get back to you.

Cheers

BandicootCrumplehorn
Posts: 5
Joined: 27 Sep 2013 08:48

Re: Fix tabbing

#6 Post by BandicootCrumplehorn » 01 Oct 2013 09:24

OK what I've also tried is disabling "Tabs to spaces". Doesn't seem to do anything.

Enabling "Want tabs" doesn't seem to do anything.

"Smart tab delete" deletes a tabs-worth of spaces at once, which is closer to what I'm used to.

But really tabs instead of multiple spaces is what I'm after. Any idea how I set this up?

User avatar
marina.petrovic
Posts: 2986
Joined: 18 Apr 2013 08:11

Re: Fix tabbing

#7 Post by marina.petrovic » 02 Oct 2013 09:41

Hi,

I am very sorry for the inconvenience.

With disabling "Smart tabs" and "Smart tab delete" you can control tabs a little better,
like you already notice.

Also, you can adjust Extra lines and Tab width value (Line spacing/Tab spacing) in Editor Options.

Best regards,
Marina

Post Reply

Return to “mikroC PRO for PIC32 Wish List”