User forums > Help
Feature Request
Silicium62:
hi
I would like much to have his 2 features
* To open or close the window of the Messages while clicking on one of the tabs. the same for for Management.
* Indenter correctly the current line while pressing on the key (TAB) anywhere on the line (as with emacs)
thanks
MortenMacFly:
--- Quote from: Silicium62 on April 23, 2006, 12:27:52 pm ---* Indenter correctly the current line while pressing on the key (TAB) anywhere on the line (as with emacs)
--- End quote ---
I'd disagree here. How would you place a tab then in the code (which applies more often)? What's wrong with "Home" + "TAB" as (let me say) all non-emacs-users do?!
With regards, Morten.
Silicium62:
--- Quote from: MortenMacFly on April 23, 2006, 07:27:22 pm ---
--- Quote from: Silicium62 on April 23, 2006, 12:27:52 pm ---* Indenter correctly the current line while pressing on the key (TAB) anywhere on the line (as with emacs)
--- End quote ---
I'd disagree here. How would you place a tab then in the code (which applies more often)? What's wrong with "Home" + "TAB" as (let me say) all non-emacs-users do?!
With regards, Morten.
--- End quote ---
if you want a tab in text, you use \t
but emacs's tab is very useful for easily debugging : if your line is not indenting after, you know you have a bug : missing ;...
and you put more often a tab for indenting than to put a tab in the code....
try it one time, for ever....
PS : sorry for my english....
thomas:
The AStyle plugin works on the full source, not just the current line, so that might be problematic.
Also, I agree with Martin, as a non-Emacs user, it would be quite confusing for me if pressing tab indented the current line. But hey, if you want that functionality, why don't you write a mini-plugin that hijacks the key events? That shouldn't be more than 20-30 lines of code. Then those who absolutely must have Emacs-like behaviour can have it, simply by loading that plugin :)
--- Quote ---if you want a tab in text, you use \t
--- End quote ---
I believe he did not refer to a tab inside a character string, but in the source code, something like here:
int foo = 1;
string bar = "bar";
Silicium62:
--- Quote from: thomas on April 23, 2006, 09:29:59 pm ---The AStyle plugin works on the full source, not just the current line, so that might be problematic.
--- End quote ---
yes...I use AStyle for this but it is not the same.... :(
--- Quote from: thomas on April 23, 2006, 09:29:59 pm ---Also, I agree with Martin, as a non-Emacs user, it would be quite confusing for me if pressing tab indented the current line.
--- End quote ---
I use emacs with Linux, and IDE with XP....I have the 2 practices...
But, i guaranteed to you that you love it....It is as TAB with bash on linux... :D
--- Quote from: thomas on April 23, 2006, 09:29:59 pm ---But hey, if you want that functionality, why don't you write a mini-plugin that hijacks the key events? That shouldn't be more than 20-30 lines of code. Then those who absolutely must have Emacs-like behaviour can have it, simply by loading that plugin :)
--- End quote ---
I tried to change AStyle, but where to begin..... :oops:
--- Quote from: thomas on April 23, 2006, 09:29:59 pm ---
--- Quote ---if you want a tab in text, you use \t
--- End quote ---
I believe he did not refer to a tab inside a character string, but in the source code, something like here:
int foo = 1;
string bar = "bar";
--- End quote ---
yes...I didn't know it..why not...
but I prefer my way to debug easily :wink:
Navigation
[0] Message Index
[#] Next page
Go to full version