-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Use case: I'm using golines in GoLand IDE as an External Tool, passing the current file as the argument to golines along with -w so the formatting is applied. I sometimes find myself wanting to format only the lines that I have selected. There are macros in GoLand for accessing the selected line numbers, so ideally I would pass those along to golines.
Probably not the easiest ask, since the code around the specified line numbers provide context as to how those lines should be formatted. I assume the entire file would need to be processed in order to determine the correct formatting, which would be fine, as long as there was a way to specify which lines get overwritten by -w
hu3bi
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request