I'd like to comment an action in the Actions List so that it'll skip the execution. How can it be done?
Right-click on the action/line and disable.
That will skip the line from execution.
In addition, if you want to write a comment in your task you can use comment command.
Related
I am writing a small IDE with Single Steps using the Debugdemo.
Now I need an Event before and after a line is executed.
I would like to disable my Editor while the current Line is executed.
I found the OnLine Event but did not find out in what cases it is fired or how I can use it.
Any hints are welcome.
Greetings Klaus
The OnLine event is meant to alter the interpretation of code.
It is not meant for debugging purposes.
If you want to do that use the BreakPoints in TPSScriptDebugger.
Put a breakpoint on the line and after the line.
Now you will get a signal before and after the line is executed.
I want to add a keyword to all the test cases in my test specification. May I know whether there is any easy way of doing it other than adding the keyword to each test case manually?
Any help is appreciated.
Thanks in advance.
On the start page on the left side there is an option "Assign Keywords". If you click on that you see the test suites. Instead of expand these you can click on a test suite then select the keyword and assign it. Aaaand it's done
I would like to create Issues / Work items / code Review with comments to certain lines of code that directly link to the file and version.
did I miss that feature? or would it be a case for UserVoice* asking for that feature?
(* for which I would not qualify obviously unless MSDN subscriber)
Yes, it is possible for you to add comments to specific code blocks or links.
In the Comments section, select the changed file. Then in the comparison view, right-click in the specific code block and select Add Comment.
Then you will see that the code line information is included in the comments:
I wonder if exists some plugin which offers syntax completion based on rails snippets (from snipmate).
Example:
Being on specs, I provide shou, press hotkey and I got list of possible completions (like for Ctrl-p). Selecting anything from list, will insert a snippet.
Does something like this exists?
You can hit <C-r><Tab> in insert mode to pop up a list of available snippets, hit <Enter> to select the right one and hit <Tab> to expand the snippet. But the menu doesn't provide a description.
This is not specific to SnipMate, but you might also find Vim's line completion feature useful here. While in insert mode, Ctl-xCtl-l will offer possible completions for the whole line. So if you already have something like the following in your open buffers:
it { should belong_to(:user) }
it { should validate_presence_of(:title) }
and you start typing
it {Ctl-xCtl-l
... you will get a list of possible full line completions to match.
def login
debugger
LOGIN::authenticate(params)
end
When it hits the line with debugger, I type 'n' and it goes to some other file, and I can't seem to be able to get into the call to LOGIN::authenticate
Is 'n' not the right way to do this?
You'll want to use step or s for shorthand. Here is a great cheat-sheet on ruby-debug as well.
I think you should use step to step into the LOGIN::authenticate method.
n[ext] just step over to the next line.
Try help to have the list of debugger commands, and help command-name to have some help for a given command.