gulp - How to execute custom file specific command / task in Visual Studio? -


i able define custom commands/task/macro visualstudio solution. execute command file selected in solution explorer.

there several possibilities execute command fine me:

a) right click on file in solution explorer , choose command context menu (my favorite)

b) select file in solution explorer. click on button on tool bar. command somehow retrieve selected file solution explorer.

c) select file in solution explorer. start task task runner explorer. executed task somehow retrive selected file 'solution explorer'

i tried use visualstudio extension vscommandbuddy. however, not support file specific commands, see

https://github.com/paulhuizer/vscommandbuddy/issues/21

i tried use grunt or gulp task can started task runner explorer. however, don't know how can pass/access the file selected in solution explorer.

https://blogs.msdn.microsoft.com/webdev/2016/01/06/task-runners-in-visual-studio-2015/

=> there visualstudio extension allows define custom commands files?

=> how can pass/access file selected in solutionexplorer in script files (e.g. gulp, grunt, webpack)?

=> other comfortable work flow recommend?

it possible write own visualstudio extension. guess else knows solution this.

you can use visual commander extension define custom command/macro. on how selected file in solution explorer see in vs 2015 extension, how can selected object in solution explorer?


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -