Git Product home page Git Product logo

binocular's Issues

Editor doesn't get focus after closing terminal

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.

no command working on osx

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"
}

Suggestion to rename "Search file history" to "Search shell history"

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:

image

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 :-)

image

I'm running VSCode in WSL on Windows 11.

Windows support

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.

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.

Support for powershell (pwsh) - Console Incompatibility

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.

Thank you for your assistance!
image

Scrolling content of preview pane with keyboard

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.