lpoto / telescope-tasks.nvim Goto Github PK
View Code? Open in Web Editor NEWRun and preview the definitions and outputs of custom or auto-generated tasks from a telescope prompt
License: MIT License
Run and preview the definitions and outputs of custom or auto-generated tasks from a telescope prompt
License: MIT License
Since floating windows now support footers, it would be useful to display the command being run in the footer (if a float is being used for displaying the output in a separate window)
Tasks should be allowed to contain a table of commands instead of just a single command.
cmd
field, but instead each command should have a string key and a string or a table value, so the different commands may be identified with their own names, and the multiple command value may be distinguished from the single command value.Example
cmd = { run = {"go", "run", "."}, build = {"go", "build", "."} }When executing a task with such value the user would be then prompted with a popup containing the lines:
run build
Is there any way to run a command on each file when the generator generates a task during startup? I'd like to have persistence by having it reconnect to a tmux session if it exists.
Add default generators that run the current file. For example, a generator should check whether the current file contains a main function, and generate a task for running it, if it does (this would be useful for filetypes such as c, c++, java).
Something like this is currently already implemented for Go default generators
(It generates a task for a file only if it contains main package and main function), and for Lua.
Now there is lock
task spec to (not) allow changing the command before running the task but sometimes you want to edit the command sometimes you don't want.
An option to allow changing the command sometimes is, for example, Return
run the command without changing it, Ctrl-Return
allow changing the command before running.
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.