Comments (6)
is a way to avoid overseer to close the open floating terminal when a task finish?
I'm surprised by this question because by default when a task finishes it should notify and start a timer for cleanup, but nothing else. Can you provide a minimal config + command that reproduces this?
I saw that is possible to show the output in quickfix buffer. There is a way to do it with a VS Code task?
Yes, I thought I documented this, but I guess I didn't. You can specify custom components for VS Code tasks by using the default_vscode
component alias
require("overseer").setup({
component_aliases = {
default_vscode = {
"default",
"on_output_quickfix",
},
},
})
I'll add some documentation about this
is there an api to list all tasks defined in tasks.json?
The official API doesn't have this, but there is an unofficial API that is nonetheless mostly stable. I may decide to promote this to a supported interface
require("overseer.template").list({
dir = vim.fn.getcwd(),
}, function(templates)
for _, tmpl in ipairs(templates) do
if tmpl.module == "vscode" then
print(string.format("tmpl %s", tmpl.name))
end
end
end)
I need to go get on a plane, but I'll come back to this after this weekend
from overseer.nvim.
I'm surprised by this question because by default when a task finishes it should notify and start a timer for cleanup, but nothing else. Can you provide a minimal config + command that reproduces this?
On the project I'm workign on, we use make
to run commands on a docker running instance. Something like:
make docker_run_cmd ......
I'll try to reproduce it with a simple configuration. I have no problem with scripts that returns exit codes. They do not close the terminal and I can reopen it when they finishes. But I have the problem with the commands like the one above.
from overseer.nvim.
Hi again. Sorry but still didn't had the time to get a working example for my issue. In the meantime I would like to come back to something related to the "Offtopic2" question: I would like to show a file chooser dialog (or a list of file that follow a specific naming pattern) when I select a task to run against a specific file. I was looking into VS Code variable substitution but I still don't know how to achieve this.
from overseer.nvim.
I don't think tasks.json supports that exactly. From the VS Code docs, pickString
lets you specify a set of options, but there's no way to dynamically generate options based on a file pattern.
If you want to run the task on the currently-open file, you can use the ${file}
variable as described in the Predefined variables section.
from overseer.nvim.
I've found this answere on stackoverflow that suggests that should possible in VSC but I don't know if it will work on overseer too: https://stackoverflow.com/questions/72198810/run-vs-code-task-on-specific-file-folder-selectable-via-a-drop-down-list
from overseer.nvim.
The first example using pickString
is supported, the second with extension.commandvariable.pickStringRemember
is not.
from overseer.nvim.
Related Issues (20)
- bug: `$eslint-stylish` triggers error HOT 2
- feature request: ToggleTerm strategy - go to previous window on terminal close
- feature request: Is there any way to create custom strategy?
- feature request: strategy to read output from a log file instead of stdout and stderr
- bug: The sidebar buffer doesn't render after opening overseer before job start HOT 2
- bug: The scroll doesn't work with the toggleterm strategy when opening a preview
- feature request: Hidden vscode tasks HOT 3
- bug: Wrong autocomplete parameters with enum type
- bug: Orchestrator strategy undefined behavior HOT 1
- bug: open vsplit doesn't open (split) on the right HOT 1
- bug: telescope picker not shown but a fallback HOT 1
- feature request: [windows] remove (nonstandard?) escape sequences
- on_result_diagnostics_quickfix.set_empty_results not clearing diagnostics list HOT 1
- -
- bug: Targets from included Makefile only visible on first execution HOT 5
- bug: shell escape single quote HOT 2
- bug: How to keep in task log window HOT 2
- feature request: OverseerToggle!top
- How to change select multi parameters( TAB is no effect)
- bug: ephemeral docker containers do not stop HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from overseer.nvim.