jpcrs / binocular Goto Github PK
View Code? Open in Web Editor NEWNot exactly a telescope, but it's useful sometimes. Extension to search/navigate through files and workspaces.
License: MIT License
Not exactly a telescope, but it's useful sometimes. Extension to search/navigate through files and workspaces.
License: MIT License
Hey, thanks a lot for the extension! I have switch between vscode and neovim and this helps a lot closing some gaps.
The issue I have is the code editor isn't focused after closing the terminal (e.g after running lazygit custom command).
Is this something that can be fixed? :)
Also, a feature request: add an option to toggle the file explorer when the terminal is running.
I'm on macOS and using VSCodeVim btw.
Hi, I tried to use the package, but I noticed that the command executed from the extension is binocular-rust
.
I think it is supposed to be binocular-cli
. Am I doing something wrong?
Hello,
Thank for this extension probably one of I missed the more from neovim as others are not really integrations
I tried it but seems somethin happen for every build in command I'm doing: (it work if I do custom commands)
Error: the task 'binocular: binocular' neither specifies a command nor a dependsOn property. The task will be ignored. Its definition is:
{
"type": "shell",
"id": "shell,binocular-cli -c -f ,",
"problemMatcher": [
"$binocular"
],
"label": "binocular: binocular"
}
Problem matcher {0} can't be resolved. The matcher will be ignoredError: the task 'binocular: binocular' neither specifies a command nor a dependsOn property. The task will be ignored. Its definition is:
{
"type": "shell",
"id": "shell,binocular-cli -c -f ,",
"problemMatcher": [
"$binocular"
],
"label": "binocular: binocular"
}
Error: the task 'binocular: moveToEditor' neither specifies a command nor a dependsOn property. The task will be ignored. Its definition is:
{
"type": "shell",
"id": "shell,${command:workbench.action.terminal.moveToEditor},",
"problemMatcher": [],
"label": "binocular: moveToEditor"
}
Error: the task 'binocular: closePanel' neither specifies a command nor a dependsOn property. The task will be ignored. Its definition is:
{
"type": "shell",
"id": "shell,${command:workbench.action.closePanel},",
"problemMatcher": [],
"label": "binocular: closePanel"
}
First, thank you @jpcrs for this extension and the binocular-cli project, it is just awesome and nothing like that existed in VS Code before. I'd even risk a statement that your extension has a chance to become a somewhat NeoVim killer ๐
I think this could be named better:
For example, "Search shell history"
I initially thought it's revisions history of current file and was puzzled why nothing happens, until I started digging further :-)
I'm running VSCode in WSL on Windows 11.
Hi,
First of all, congrats for the addon.
I'm experiencing some issues to make it work on Windows.
The first issue is with the workspace path. As usual paths on Windows are causing troubles with spaces.
A lazy approach to "fix" it is editing binoculatTask.js
functions to something like this:
this.searchFile = () => this.initBinocularTask(binocular-cli ${this.opt} -f ${vscode.workspace.workspaceFolders?.map(x => -p "${x.uri.fsPath}").join(" ") ?? ""});
Once this issue is avoid some other occurs with bat.
I've read that it can be related to the --ansi
parameter of bat. I think it can't be fixed or avoided without changing binocular-cli and the repo link is broken.
Thanks for your work.
exeI've been using your application and it works well, except for the preview feature. It seems there's an issue likely caused by the application using Windows CMD instead of PowerShell. This incompatibility appears to be causing a bug in the preview function. I'm not sure if this is something that can be resolved on your end, but it would be greatly appreciated. Attached is an image highlighting the specific error encountered.
Is there a keyboard shortcut to scroll content of the 'Preview' pane during searchFile
or searchFileContent
?
I hoped ctrl+pgup/pgdn may work, like it does for diff pane in Lazygit, but it doesn't.
The only way to scroll seems to be with mouse wheel.
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.