RE: Source Editor Enhancements
From: Dan Moseley[MSFT] (danmose_at_online.microsoft.com)
Date: 03/12/04
- Next message: Dan Moseley[MSFT]: "RE: New feature for Visual Studio IDE: Highlight changes before saving"
- Previous message: John Puopolo: "Getting Address of Object Ref in Debugger?"
- In reply to: Amauri: "Source Editor Enhancements"
- Next in thread: Amauri: "RE: Source Editor Enhancements"
- Reply: Amauri: "RE: Source Editor Enhancements"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 12 Mar 2004 23:04:50 GMT
Amari,
We're expecting to have a lot more code formatting options in the next version of VS ("Whidbey"). If you
can get on the beta program in the summer, we'd very much welcome to hear whether they allow you to
get the behavior your want.
Dan [ms]
--
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| >From: Amauri <rr.servcom@uol.com.br>
| >Subject: Source Editor Enhancements
| >Date: Mon, 8 Mar 2004 11:51:42 -0300
| >Message-ID: <MPG.1ab67cb7f454e134989681@msnews.microsoft.com>
| >X-Newsreader: MicroPlanet Gravity BR v2.60
| >Newsgroups: microsoft.public.vsnet.ide
| >NNTP-Posting-Host: 200-171-61-200.dsl.telesp.net.br 200.171.61.200
| >Lines: 1
| >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
| >Xref: cpmsftngxa06.phx.gbl microsoft.public.vsnet.ide:11253
| >X-Tomcat-NG: microsoft.public.vsnet.ide
| >
| >Hello,
| >
| >I have used other editors from another companies, and I like this
| >indentation (for C++ and C#):
| >
| >if (!myBoll) { // Open braces on same line
| > FunctionA(myVar); // This line was aligned with the first
| > // nonblank character of the preceding line.
| >}
| >else {
| > FunctionB(myVar); // This line was aligned with the 'if' block
| >}
| >
| >switch (MyVar) {
| > case 1 : FunctionC(); // After the editor aligns under '(',
| > // I moved the cursor with <Arrow> keys
| > if (Condition) {
| > // do something
| > }
| > break;
| > case 2 : FunctionC();
| > break;
| >}
| >
| >Some features that would be wellcome :
| >
| >1. <Enter> key at the end of line : The editor creates a new line, and
| >positions the cursor under the first nonblank character of the preceding
| >nonblank line.
| >
| >2. <Enter> key at the middle of line : The editor splits line, align the
| >second split under the first nonblank character of the preceding
| >nonblank line, and positions the cursor on this column.
| >
| >3. <Enter> key in the 'else' block : The editor creates a new line,
| >aligns the cursor with the 'if' block.
| >
| >4. <Tab> key : The editor positions the cursor under the first non-
| >whitespace character in the preceding line.
| >
| >5. <Backspace> key : The editor aligns the cursor to the previous
| >indentation level (outdents it).
| >
| >6. Do not fix a number of characters (spaces or tabs) for indentation,
| >but use 'smart indentation', as described above. For increase/decrease
| >line indent too.
| >
| >7. Highlight the current line.
| >
| >8. Completion of grouping chars (eg. {} [] () ) : When the user starts
| >a block, the editor automatically inserts the character to close the
| >block, and positions the cursor inside the block. Same line for [] and
| >(); New line for {}.
| >
| >9. Same as above, for strings and chars delimiters (quotations marks and
| >apostrophes).
| >
| >10. Fold/unfold blocks of lines, delimited with {}.
| >
| >11. Selection of one block ( the code chunck between '{' and '}' ).
| >Similar to GotoBraceExtent, but the user does not point in one brace,
| >instead, the cursor remains in the middle of the inner block.
| >
| >12. Highlights the inner block, where the cursor is, with a few
| >keystrokes (or mouse click on pop-up menu), then highlights the outer,
| >and outer-outer, and so on.
| >
| >13. Removes (reset) automatically the event handler, when the user
| >empties or delete the corresponding method and saves the document.
| >
| >14. Almost all the above features must be set and configured in the
| >Tools/Options window.
| >
| >I think these features will enhance MS VS Net source editor.
| >
| >With these enhancements, the editor will respect all indentation styles
| >(for all developers styles), and will not force us to use MS indentation
| >style.
| >
| >I suggest to take a look on these editors :
| >- PSPad : http://www.pspad.com/index_en.html
| >- Crimson Editor : http://www.crimsoneditor.com
| >
| >Thanks for your attention.
| >
| >Regards,
| >
| >Amauri
| >rr.servcom@uol.com.br
| >
- Next message: Dan Moseley[MSFT]: "RE: New feature for Visual Studio IDE: Highlight changes before saving"
- Previous message: John Puopolo: "Getting Address of Object Ref in Debugger?"
- In reply to: Amauri: "Source Editor Enhancements"
- Next in thread: Amauri: "RE: Source Editor Enhancements"
- Reply: Amauri: "RE: Source Editor Enhancements"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|