Can't use "$" in custom snippet
See original GitHub issueI am trying to create a snippit for time logging of a function
$start = microtime(true); { $TM_SELECTED_TEXT }$0 $time_elapsed_secs = microtime(true) - $start;
When i use it it removes the variables (eg $start) i can understand that it works this way but is there any way to show the variable?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Visual Studio Code user snippets not working - Stack Overflow
Go to settings (Windows/Linux: File > Preferences > Settings, macOS: Code > Preferences > Settings) and type in quick in search box and...
Read more >code snippets not working - Visual Studio Feedback
1.Repair your instance. 2.Remove and re-add all the code snippets with snipped manager. 3.Tools >> Options >> Text ...
Read more >Custom snippet doesn't work · Issue #33723 · microsoft/vscode
No, the snippet doesn't show up on F1 > Insert Snippet . Snippet doesn't show up on Cmd+Space as well. What does that...
Read more >Why can't I access the Snippets? - WordPress.org
Hi there,. Can you please check that you don't have the Headers & Footers mode only enabled? If that's enabled you should see...
Read more >Troubleshoot snippets - Visual Studio (Windows)
You may be missing a project reference. Examine the documentation about the snippet. If the reference is not found on the computer, you...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Oh sorry didn’t see the double slash I’ll try it Thursday when I’m back at the office but I’m sure if it works for you it will work for me, thank you for your help and for the plug-in!
Yup the double slash did the trick thx for the support!