+1 888 340 6572
MultiCharts Project Management
previous_open_issue.png
Go to the previous open issue
previous_issue.png
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
feature_request_small.png
Open Feature request MC-801

PL Editor If statement tab jump feature

action_vote_minus_faded.png
3
Votes
action_vote_plus_faded.png
next_issue.png
Go to the next issue (open or closed)
next_open_issue.png
Go to the next open issue
Description

It would be challenging to program the editor for this but none the less a very useful feature if the cursor could be put over the (IF or the then or the Else or any of the begin/end) statements for a given IF statement construct, then a key such as tab or tilde could be used to cause the cursor to jump to the next structure satement in the if statement structure.

Its usefulness would be for when the user creates a very large IF statement with a lot of commands in the BEGIN/END sections or for the very deep nested if statement sets.

It would need to wrap around back to the If statement once the last END was hit. Maybe the shift key could be used to cause it to move backwards in the rotation.

An example use would be coming back to an old script (even one that is properly lined up) and using the tab jump command to help determine where to put a comment at the end like this {END IF - Comments} that is lined up with the same indent position as the IF at the beginning. I at times use this technique to try to get my if statements to line up like VBA code. However when there are about 5 deep of END statements it can be hard to figure out where the {END IF - Comments} should go.

Steps to reproduce this issue

N/A

Comments (0)
History
Issue basics
  • Type of issue
    Feature request
  • Category
    Usability
  • Targeted for
    Not determined
  • Status
    Under Review
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (3)
People involved
Times and dates
  • Posted at
  • Last updated
Issue details
  • Resolution
    Not determined
  • Severity
    Normal
Attachments (0)
There is nothing attached to this issue
Commits (0)
There are no code checkins for this issue
Duplicate issues (0)
This issue does not have any duplicates