Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Scope ruler/guide-line
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

icStatic
Junior Member

14 Posts

Posted - May 18 2010 :  5:56:27 PM  Show Profile  Reply with Quote
I would like to propose a new* feature that I've dubbed the 'scoped' ruler.

The general gist would be that when you select a line, it would display a guide line vertically across the screen at the left most non-whitespace character. This would make finding the top of longer code blocks easier.

There could be two modes for this:
*Scope based
*Whole file based

I've drawn some rough diagrams below:

This is an example of whole file mode:


This is an example of 'scoped' mode:


Thoughts?

* assuming my google foo is working

icStatic
Junior Member

14 Posts

Posted - May 19 2010 :  09:28:56 AM  Show Profile  Reply with Quote
Sorry to double post, but on a similar note, a 'go to matching brace' function would also be useful!
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - May 20 2010 :  5:26:14 PM  Show Profile  Reply with Quote
GO to matching bracket is built into the IDE, try Ctrl+] this is the default keyboard shortcut for me.

Also have a look at:

http://www.wholetomato.com/products/features/move.asp

For the display, we don't currently have any plans to try and do this, but you might want to have a look at:

http://www.codekana.com/

zen is the art of being at one with the two'ness
Go to Top of Page

icStatic
Junior Member

14 Posts

Posted - May 22 2010 :  10:47:05 AM  Show Profile  Reply with Quote
Thanks feline, I didn't know about Ctrl+] so that's very useful to know!

It's a shame you won't consider the feature above.

I will give Code Kana a go alongside VA when they add support for VS2010!

Cheers
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - May 22 2010 :  11:24:46 AM  Show Profile  Reply with Quote
The vertical lines have been discussed internally, but we are not sure about the utility of them for most users. I tried Code Kana myself, and had a problem that if you use tabs in your code, the caret could become "hidden" when it was sitting on top of one of these vertical guide lines.

Also VA's context and definition fields are designed to show you some scope information, to tell you something about where you are inside the current function, when the caret is in the white space at the start of a line.

In part it comes down to limited resorces, and lots of feature requests. We have to try and limit the ideas we want to add to VA somehow.

zen is the art of being at one with the two'ness
Go to Top of Page

HBTeun
Senior Member

33 Posts

Posted - May 26 2010 :  07:11:35 AM  Show Profile  Reply with Quote
I would welcome that scope ruler. But in most cases would be to go to matching bracket.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - May 27 2010 :  8:25:13 PM  Show Profile  Reply with Quote
For going to the matching bracket, you already have the IDE command to jump to matching bracket, and VA's next and previous scope commands. I find both to be very useful.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000