GithubHelp home page GithubHelp logo

merrit / vscode-runner Goto Github PK

View Code? Open in Web Editor NEW
16.0 3.0 3.0 1.45 MB

KRunner plugin for quickly opening recent VSCode workspaces

Home Page: https://store.kde.org/p/1653111/

License: GNU General Public License v3.0

Dart 90.64% Shell 9.36%
kde krunner vscode

vscode-runner's Introduction

A KRunner plugin / "runner" that lists VSCode's recent workspaces

  • Quickly re-open the workspace in VSCode by pressing Enter.
  • Open a file browser to the workspace's directory by pressing Shift + Enter.
  • Supports: Stable, Insiders, VSCodium

Download

Download from the KDE Store


Screenshot

Screenshot


demo.mp4

Requirements

  • sqlite3
    • Fedora: sudo dnf install sqlite-devel
    • Debian/Ubuntu: sudo apt install libsqlite3-dev

Building

dart pub get
dart compile exe -o package/vscode_runner bin/vscode_runner.dart

Install plugin

package/install.sh

Uninstall plugin

package/uninstall.sh

vscode-runner's People

Contributors

alex1701c avatar chinggg avatar merrit avatar sr-tream avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

vscode-runner's Issues

dart compile exe -o package/vscode_runner bin/vscode_runner.dart - Fails?

Info: Compiling with sound null safety. ../../.pub-cache/hosted/pub.dev/file-6.1.2/lib/src/forwarding/forwarding_file.dart:22:8: Error: The method 'ForwardingFile.createSync' has fewer named arguments than those of overridden method 'File.createSync'. void createSync({bool recursive = false}) => ^ /usr/lib/dart/lib/io/file.dart:248:8: Context: This is the overridden method ('createSync'). void createSync({bool recursive = false, bool exclusive = false}); ^ ../../.pub-cache/hosted/pub.dev/file-6.1.2/lib/src/forwarding/forwarding_file.dart:22:8: Error: The method 'ForwardingFile.createSync' doesn't have the named parameter 'exclusive' of overridden method 'File.createSync'. void createSync({bool recursive = false}) => ^ /usr/lib/dart/lib/io/file.dart:248:8: Context: This is the overridden method ('createSync'). void createSync({bool recursive = false, bool exclusive = false}); ^ ../../.pub-cache/hosted/pub.dev/file-6.1.2/lib/src/interface/file.dart:15:16: Error: The method 'File.create' has fewer named arguments than those of overridden method 'File.create'. Future create({bool recursive = false}); ^ /usr/lib/dart/lib/io/file.dart:232:16: Context: This is the overridden method ('create'). Future create({bool recursive = false, bool exclusive = false}); ^ ../../.pub-cache/hosted/pub.dev/file-6.1.2/lib/src/interface/file.dart:15:16: Error: The method 'File.create' doesn't have the named parameter 'exclusive' of overridden method 'File.create'. Future create({bool recursive = false}); ^ /usr/lib/dart/lib/io/file.dart:232:16: Context: This is the overridden method ('create'). Future create({bool recursive = false, bool exclusive = false}); ^ Error: AOT compilation failed Generating AOT kernel dill failed!

No vscode-runner entries in krunner

I have installed the plugin by building it then installing it according to the instructions on the readme. However, even by disabling every plugin except for vscode-runner, I'm not able to make any entry at all pop up. I have also tried opening a VSCode workspace before running the query (since I don't know how this extension queries recent workspaces), but I still get nothing.

One thing that I've noticed is that if I kill krunner and run it through the terminal, I get the following:

qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
kf.runner: KRunner D-Bus plugin "vscode_runner" installs the .desktop file ("krunner/dbusplugins/plasma-runner-vscode_runner.desktop") still in the kservices5 folder. Please install it to ${KDE_INSTALL_DATAROOTDIR}/krunner/dbusplugins.

I'm on Fedora 38, KDE Plasma 5.27.8.

Am I missing something?

Remote projects

Dont open remote projects from Project Manager. Only local.

This plugin does not work correctly with VSCodium.

I set the projects file to the correct path (/home/sylvester/.config/VSCodium/User/globalStorage/alefragnani.project-manager/projects.json) and the projects do show up in KRunner, however when I select them nothing happens. I'm assuming that this plugin is using the code binary to launch the project, but on VSCodium this should be the codium binary.

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.