- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-11-2019 12:43 AM
I have setup one of my custom appplications in VS and wanted to run a fix script as background script but the command is not showing up for me.
Can anyone help me with it?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-11-2019 01:33 AM
The "background script" feature can be found in the contextual menu, when you do a right-click after you select a particular piece of code you want to execute in a Javascript file. Only the lines of code selected (or) highlighted will be executed.
You have the option to run the selected code in the 'Current' scope or the 'Global' scope.
The results are returned right back to the editor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-11-2019 01:44 AM
The command is not available in the Command Palette but only in the context menu when you select text in a js file.
This shall be rectified in the documentation.