You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.
This is most likely a Brackets Shell issue too, but correct me if I am wrong but there doesn't seem to be a way to open a file to a specific line / column from command line.
Throws an unknown error inside Brackets on Windows
Steps to Reproduce
Create a file called foo.txt and insert the following
lazy dog jumps over brown fox
lazy dog jumps over brown fox
lazy dog jumps over brown fox
lazy dog jumps over brown fox
lazy dog jumps over brown fox
lazy dog jumps over brown fox
lazy dog jumps over brown fox
lazy dog jumps over brown fox
Try to launch it from cmd line with brackets foo.txt:4:4
Expected behavior: [What you expected to happen]
File opens in Brackets with cursor set to fourth line, fourth column
Actual behavior: [What actually happened]
Error is thrown either in console or Brackets, depending on the OS.
Versions
Latest master, Win / Mac
The text was updated successfully, but these errors were encountered:
Prerequisites
Debug -> Reload Without Extensions
?Description
This is most likely a Brackets Shell issue too, but correct me if I am wrong but there doesn't seem to be a way to open a file to a specific line / column from command line.
In https://github.com/adobe/brackets/blob/master/src/document/DocumentCommandHandlers.js#L417-L440 we handle decorated paths inside Brackets, but if one tries to open a file with
foo.js:5:5
, it either:Steps to Reproduce
foo.txt
and insert the followingbrackets foo.txt:4:4
Expected behavior: [What you expected to happen]
File opens in Brackets with cursor set to fourth line, fourth column
Actual behavior: [What actually happened]
Error is thrown either in console or Brackets, depending on the OS.
Versions
Latest master, Win / Mac
The text was updated successfully, but these errors were encountered: