Text editing annoyance

  • Thread starter Thread starter Flomo Togba Kwele
  • Start date Start date
F

Flomo Togba Kwele

For some reason, using Ctrl-leftarrow or Ctrl-rightarrow does not move the
cursor in VS2005. Opening the same VB file in Notepad, this function works by
skipping (or reverse skipping) to the next word.

Is this the way it's supposed to work, or have I mangled some option?

Thanks, Flomo
 
Hi Flomo,

There is an option in Tool|Options| Enviroment | Keyboard:

Edit.wordNext
Edit.wordPrevious

For example:
1.Open Option Dialog by Tool|Options.
2.Select Enviroment | Keyboard node
3.Type "Edit.WordNext" in "Show Command Containing" Textbox.
4.Select "Text Editor" item in "Use new shortcut in" list box
5.Press Ctrl + Right key in "Press shortcut keys" box.
6.At last, click "Assign" and "OK" to close the dialog.

Additionally, you can reset all shortcut keys to default by
1.Select "Default" item in the "Apply the following additional keyboard
mapping scheme:" list box
2.Click "Reset" button to reset all shortcut keys.

Please feel free to let me know if you have anything unclear.
Have a great day,
Sincerely,
Wen Yuan
 
Wen Yuan,

That was perfect! This "small" item makes a big difference. I reset to default.
I don't know how I changed this to screw it up.

Flomo
 
Wen,

I've got another one which might be similar. When I'm typing into the IDE code
window, many times the item I type in does not change its case to match the
original. For example, I typed:

orelse

expecting it to reformat to OrElse, but it remained as I typed. This also
happens on types I define. The reformatting used to occur after I typed CR/LF
to a line which compiles OK. But now it does not, a little annyoing.
 
Hi Flomo,

I think what you mentioned is "Pretty Listing (reformatting) of code"
option.
You can get it by Tools| Options| Text Editor| Basic| VB Specific|
Check the check box named "Pretty Listing (reformatting) of code".

Additionally, another way, you can approach this by pressing Ctrl+K and
then Ctrl+D (default setting)
This is the shortcut for "Edit.FormatDocument".
Tools| Options| Environment| Keyboard.

Hope this helps,
Sincerely,
Wen Yuan
 
Hi Flomo,

Just want to check whether you have any further issues.
Please fell free to let me know if you have anything unclear.
I'm glad to assist you.

Have a great day,
Sincerely,
Wen Yuan
 
Wen Yuan,

The Pretty Listing setting keeps on resetting itself to off. I set it about 2
or 3 times a day, but it turns itself off.

Any ideas?

Thanks, Flomo
 
Hi Flomo,

As far as I know, VS will not automatically turn this setting off.
Have you installed any add-in on your Visual Studio 2005?

Have a great day,
Sincerely,
Wen Yuan
 
Hi Flomo,

Have you resolved this issue?
Please don't hesistate to update here if there is anything we can help with.

Have a great weekend,
Sincerely,
Wen Yuan
 
Wen,

Periodically the IDE (or something else) turns off the Pretty Listing checkbox.
Under Add-Ins, I have nothing. But CodeSmith and CodeSmith Explorer are items
which show under the Tools menu.

Also, I cannot get a newly added Token to remain in the Task List under the
Environment section across invocations of the IDE.

Flomo
 
Hi Flomo,

When is "Pretty Listing" Checkbox turn off? Is it each time you start
Visual Studio or open VB.net Project?

If you haven't installed any add-in on visual studio. You may check whether
you using team settings file in your Visual Studio. The setting files will
be loaded each time staring Visual Studio.

Click "Tools|Options"
Expand Environment node and select Import and Export Settings.
Uncheck "use team settings file" option

Such as : http://msdn2.microsoft.com/en-us/library/xdfb57tf(VS.80).aspx

Hope this helps,
Sincerely,
Wen Yuan
 
Hi Flomo

Is there anything we can help with?
Please feel free to update here and I'm glad to assist you.

Have a great weekend,
Sincerely,
Wen Yuan
 
Back
Top