boakley / brackets-robotframework

Brackets.io extension for editing robotframework pipe-separated plain text files
20 stars 3 forks source link

quickdocs should work when in cell after keyword #20

Closed boakley closed 10 years ago

boakley commented 10 years ago

Right now, quickdocs only looks in the current cell for a keyword name. It would be nice if it could look in earlier cells, too. For example, consider this code:

| | Should be equal | ${expected} | ${actual}

If your cursor is at the end of the line and you press control-k, it won't show any documentation since ${actual} isn't a keyword. What it should do instead is look at the previous cell(s), stopping when it finds a keyword. In this case it would show the documentation for Should be equal even though the cursor is in a different cell.