Author |
Topic |
|
John_H_Bergman
Tomato Guru
USA
198 Posts |
Posted - Oct 11 2005 : 6:56:24 PM
|
I noticed editting my C# files that
#region blah.. blah...
#endregion<enter>
replaces #endregion with #endif; and #endregion does not show up in the listbox. |
John H. Bergman CTO SiliconZone
[email protected]
To Send email, remove the .online. |
|
feline
Whole Tomato Software
United Kingdom
19009 Posts |
Posted - Oct 12 2005 : 2:27:10 PM
|
thats not good. using VS 2003 and VA 1426 this does not happen. do you actually get the semi colon as well? or is that just a character in the post?
which IDE and version of VA are you using? |
zen is the art of being at one with the two'ness |
|
|
John_H_Bergman
Tomato Guru
USA
198 Posts |
Posted - Oct 20 2005 : 5:23:32 PM
|
With 1428, I still have the same problem. VS2003 is the IDE
You do not get the semi-colons. |
John H. Bergman CTO SiliconZone
[email protected]
To Send email, remove the .online. |
|
|
feline
Whole Tomato Software
United Kingdom
19009 Posts |
Posted - Oct 22 2005 : 11:51:59 AM
|
i cannot reproduce this when adding #region and #endregion to an existing C# file, or even when simply adding an unpaired #endregion to the file.
does this happen all of the time, in all files? what about different projects? do you have the time to create a default C# console or windows app and try this in that?
is there anything "odd" about your setup or machine?
if you open the file:
C:\\Program Files\\Visual Assist X\\Autotext\\CS.TPL
in notepad, or something similar, end search for "endif" are there any references? there should not be any, but an autotext rule might just explain what you are seeing. |
zen is the art of being at one with the two'ness |
Edited by - feline on Oct 22 2005 11:53:37 AM |
|
|
John_H_Bergman
Tomato Guru
USA
198 Posts |
Posted - Oct 23 2005 : 8:14:10 PM
|
Yes, this appears to happen consistently, even with new projects. what do you mean by "odd", I cannot think of anything that would be considered odd about my computer.
I find this at the top of my CS.TPL file (also, I have NEVER editted these files)
a::#d:
#define
a::#u:
#undef
a::#if:
#if false
$selected$
#endif
a::#if:
#if _DEBUG
$selected$
#endif
a::#ifn:
#if (!$end$)
$selected$
#endif
a::#el:
#else
a::#eli:
#elif
a::#en:
#endif
a:region ... #endregion:#r:
#region $end$
$selected$
#endregion
|
John H. Bergman CTO SiliconZone
[email protected]
To Send email, remove the .online. |
|
|
feline
Whole Tomato Software
United Kingdom
19009 Posts |
Posted - Oct 25 2005 : 6:41:52 PM
|
oops, my mistake about references to endif. i was searching my own cs.tpl file, i had forgotten that i always tell VA to leave these alone since i have made various changes to my C++ file.
moving to the C# template file shipped with 1428 i am getting the same effect if i press enter. the autotext suggestion for "#endif" appears when i type "#en", but never disappears, so it is accepted when i press enter.
is this what you are seeing?
case=858 |
zen is the art of being at one with the two'ness |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Dec 09 2005 : 1:39:22 PM
|
Fixed in 1435. |
|
|
|
Topic |
|