Skip to content

Instantly share code, notes, and snippets.

Austin Dean austinjdean

Block or report user

Report or block austinjdean

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
# open file to line number
self.view.window().open_file("{0}:{1}:{2}".format(file_path_full, line_num, 0), sublime.ENCODED_POSITION)
# ^
# You can replace this 0 with a column variable (I think - not tested)
# At this point, file_path_full is:
# C:\Users\Austin\Desktop\test.txt
# Of course Python prints two backslashes for escape character reasons, but that will not have an adverse effect on the code itself.
You can’t perform that action at this time.