brackets-archive / bracketsIssues

Archive of issues in brackets.
0 stars 0 forks source link

[CLOSED] Suggested Plugin: Per-line comments #9148

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by rolyataylor2 Thursday Jan 08, 2015 at 01:25 GMT Originally opened as https://github.com/adobe/brackets/issues/10328


What I am thinking is a right aligned, or floating comment field on each line. Instead of having to tab over to align the comments in the document.

So normally would type some code

$this->find('user=100');

Then i want to add a comment like this

$this->find('user=100');    // Find the user in the stack

I want to have the comment line up with the other comments in the document. What I am doing currently is

{{ linecode }}+tab+tab+tab+// comment
{{ linecode }}+tab+tab+// comment

But the inconstancy in number of tabs and the time it takes to tab over is frustrating. What would be nice is if I add a comment to the end of a line the IDE could automatically add in the tabs to align all the comments for the raw file and show the comment in a split pane view or above the line text when the line isn't selected.

core-ai-bot commented 3 years ago

Comment by peterflynn Thursday Jan 08, 2015 at 01:52 GMT


You may want to try the "Align It!" extension, or post a feature request specifically in that extension's repo if it seems like a good fit for this functionality.

I'll tag this 'extension idea' and close it, since that's out standard process for extension suggestions that we're not likely to turn into core features (we have a bunch of links pointing extension authors to search queries for the 'extension idea' label, and those queries include issues that have been closed).

core-ai-bot commented 3 years ago

Comment by PhiLhoSoft Thursday Mar 12, 2015 at 11:31 GMT


See also http://nickgravgaard.com/elastic-tabstops/ :-)