Comments (7)
Hello @jon301 ,
Thank you for your feedback, this is really a big deal so i promise that i will work on it soon.
from turbo-console-log.
Changing the quote to the one that prettier's using fixed the issue for me:
"turboConsoleLog.quote": "'"
in my case.
Maybe we could make the behavior more generic as it seems to rely on the quote style used.
from turbo-console-log.
Hello,
Thank you very much for bringing up this issue;
The log messages were inserted each with a transparent character to mark them for commenting, uncommenting and deleting;
Apparently prettier remove the transparent characters while formatting the files, so in order to solve the issue once for all i decided to change the log message format to the following:
console.log('TCL: SelectedVariableEnclosingClassName -> SelectedVariableEnclosingFunctionName -> SelectedVariable', SelectedVariable).
Thx again and happy coding.
from turbo-console-log.
Hi @Chakroun-Anas,
Thanks for the update, still it does not seem to fix the issue :/
Given this code :
console.log('TCL: ClassicComponent -> constructor -> this.store', this.store);
When I save it, prettier re-formats it to :
console.log(
'TCL: ClassicComponent -> constructor -> this.store',
this.store
);
Then after that, TurboConsoleLog does not recognize this log anymore thus it's not possible to comment/uncomment or delete via the extension.
from turbo-console-log.
Hello,
I have just published an update that ensure the compatibilty with prettier.
Please check again so that we can close this issue.
from turbo-console-log.
Hi @Chakroun-Anas
It works like a charm in the latest version (1.2.11) !
Thanks <3
from turbo-console-log.
I configured the preitter, but still have the same problem.
TurboConsoleLog does not recognize this log anymore thus it's not possible to comment/uncomment or delete via the extension,Even though 'console.log()'show on one line.
As you said:
Apparently prettier remove the transparent characters while formatting the files
I think that's the problem,too.
TurboConsoleLog v2.1.7
Thank you!
from turbo-console-log.
Related Issues (20)
- The generated position is incorrect. HOT 2
- Deleting my code when using the shortcut to delete the console HOT 1
- Variable Wrapper
- Want to add log color configuration
- Doesn't work work in all windows HOT 3
- Suggestions for handling the filename and line number
- brute force printing... HOT 1
- custom "log function" does not apply on "Wrap Log Message"
- Working challenge HOT 1
- Error: Illegal value for `line` ; Parameter doesnt get logged
- Using Turbo Console Log with Console Ninja Inconvenience
- some issues in Vue3 project
- Simply doesn't Add a print statement every time
- Is there a way to customize message it myself using variables etc. used in this library? HOT 1
- Add program variables (line number, filename...) in prefix or suffix?
- Whether you can freely control βconso.logβ single quotes or double quotes
- Typescript function type parameters multiline brackets support HOT 2
- The generation location is incorrect
- πππ Auto change line number in console.log when line no changed
- turbo for errors shortcut
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from turbo-console-log.