Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension ~ feature ~ file path and line number in log message #140

Closed
wants to merge 1 commit into from

Conversation

shwao
Copy link

@shwao shwao commented Jul 25, 2021

Adds the option includeFilePathAndLineNum that includes the current file path relative to the workspace directory with the line number joined with a colon so that it can be opened in the editor.

Eg. if your current opened project is /Users/user-name/Developer/turbo-console-log and the file path is /Users/user-name/Developer/turbo-console-log/src/test.ts and you are on line 5 it will log src/test.ts:5. This way it can be opened in the editor and go directly to the logged line.

Bildschirmaufnahme.2021-07-25.um.19.14.16.mov

I could not run the tests because an ESlint config is missing? I don't really understand the test setup sorry. 😬

Adds the option `includeFilePathAndLineNum` that includes the current file path relative to the workspace directory with the linenumber joined with colon so that it can be opened in the editor.
@Chakroun-Anas
Copy link
Owner

Done, thank you so much @shwao

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants