question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

how are you supposed to install this extension on linux?

See original GitHub issue

I already built the sourcekite dependency and I think it is working, (how do I test it?). I also set my path’s according to the readme, screenshot of my settings.json

{
    "swift.path.swift_driver_bin": "/home/lucas/.swiftenv/versions/4.2-CONVERGENCE/usr/bin/swift",
    "swift.path.sourcekite": "/home/lucas/projects/swift/sourcekite/.build/release/sourcekite"
}

but I still don’t have linting support. maybe someone can help me? I also attached the built sourcekite binary onto this issue. Thanks in advance 😃 sourcekite.zip

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
Guddlercommented, Oct 2, 2018

I was having the same problem. I’ve just installed Swift / VSCode on Linux to experiment and was getting the undefined error when the extension was loading. After poking about in the source I found this:

provideDebugConfigurations(
    _folder: vscode.WorkspaceFolder | undefined,
    _token?: vscode.CancellationToken
): vscode.ProviderResult<vscode.DebugConfiguration[]> {

I found that after creating a Workspace and putting my swift files in it, the extension would then load. I have no idea if by design you are meant to need a workspace (I don’t recall reading that you need to) but maybe it is a workaround for now?

0reactions
mvdvecommented, Feb 12, 2019

Just to confirm, after adding my project folder to a workspace, the extension works. Otherwise i get an undefined error.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Use GNOME Shell Extensions [Complete Guide]
Brief: This is a detailed guide showing you how to install GNOME Shell Extensions manually or easily via a browser. While discussing how...
Read more >
How to install Gnome Extensions on Ubuntu 20.04 - Linux Hint
Install extensions from Gnome.org using the web browser ... To install Gnome shell extensions from your browser, you will need a browser extension...
Read more >
How to install Gnome Shell Extensions on Ubuntu 18.04 ...
All should be ready to install gnome extensions. Navigate your Firefox browser to https://extensions.gnome.org/ and simply search for Gnome ...
Read more >
HOW TO INSTALL GNOME SHELL EXTENSIONS IN LINUX
Select your preferred extension. TURN ON the toggle on the right side and select your GNOME shell version at the bottom. A screen...
Read more >
Installing extensions on Linux - Chrome Developers
Package extensions in the command line by invoking chrome.exe . Use the --pack-extension flag to specify the location of the extension's folder ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found