discretegames / f5anything Goto Github PK
View Code? Open in Web Editor NEWVSCode extension that lets you run any terminal command from a launch.json configuration.
License: MIT License
VSCode extension that lets you run any terminal command from a launch.json configuration.
License: MIT License
Pressing F5 automatically switches to the Debug pane, which isn't useful when using F5Anything, and having to switch back to the Files pane every time gets annoying fast. Would be great to be able to disable this behavior, if possible.
adding the ability to define environment variables.
currently, you could do it by adding a prefix in the command, like:
{
"command": "APP_ENV=development ./build.sh",
"name": "Build",
"request": "launch",
"type": "f5anything"
}
but, it will be nice if you could define it like this:
{
"command": "./build.sh",
"name": "Build",
"request": "launch",
"type": "f5anything",
"env": {
"APP_ENV": "development"
}
}
Dear F5Anything developer,
I am writing to request support for an auto option in the terminalIndex configuration attribute. Currently, when this attribute is used to specify a terminal index for a debug configuration, it always opens the same terminal instance, which can cause issues when running multiple debug sessions.
I suggest adding an auto option that automatically selects the next available terminal index for each debug session. This would allow users to run multiple debug sessions simultaneously without having to manually specify a terminal index each time.
Here's an example of how this feature could be used in a debug configuration:
{
"name": "docker bash",
"terminalName": "docker bash",
"type": "f5anything",
"request": "launch",
"terminalIndex": "auto",
"command": "docker exec -it web.webtool.dev /bin/bash"
}
With the auto option, each time a user starts a debug session with this configuration, F5Anything would automatically select the next available terminal index and open a new terminal instance. This would greatly simplify the process of running multiple debug sessions and reduce the chance of conflicts between terminal instances.
Thank you for considering this feature request.
Best regards,
fh32000
Currently, pressing F5 with this extension while a process is already running in the terminal will just send the text to it on top of the current process, so the user is required to manually halt the process themselves.
It would be really convenient to be able to just press F5 once and have the previous process be stopped automatically by the extension. Other run types (like Python) already have the option to do this.
I am trying to build a general-purpose work environment where I can pick a single 'run the thing' key for every application (which, in my case, includes a wide variety of tooling).
Rather than an external shell command, my use case would be best fit by calling an internal 'feature contribution' command (in this case, picowgo.upload
).
Is there a convenient way that this extension can accommodate that use case that I'm missing? And if not, would you consider adding it? :)
Hi
"showTerminal": false seems not working, it will jump to focus the terminal
thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.