microsoft / microsoft/vscode-sublime-keybindings

Sublime settings aren't found on Linux (OpenSUSE)

Open
#90 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
257
Forks
128
PR merge metrics
No merged PRs in 30d

Description

This issue has been moved from Microsoft/vscode-sublime-importer/
Original author is @robsonsobral@robsonsobral


Hi!

I tested your extension today and... Nothing happens. Running 3.0, Build 3143 and VSCode 1.18.1.

Maybe is because my ST settings are on a symlink?

Am i doing something wrong?

Thank you!


This is a reply from @auchenberg@auchenberg

@robsonsobral

  1. Can you try to open the DevTools (About => Toggle DevTools) inside Code, go to the console
  2. Run the "Import Sublime settings" command from the command pallette

Anything shown in the console?


This is a reply from @Alvyre@Alvyre

Don't know why but on Linux (OpenSUSE), the sublime config path is not the same as the one requested..
So basically a quick fix would be to create a file in the requested path (/home//.local/share/Sublime Text 3/...).

May you should add a variable to define our own Sublime config file in the VSCode plug-in ?

Thanks for this, it's very useful 👍


This is a reply from @auchenberg@auchenberg

@Arctic76 Aha, interesting. We should handle this. Do you know if this is a general convention in OpenSUSE to store settings in /home//.local/share/?


This is a reply from @auchenberg@auchenberg

The library we use should support this convention, so something goes wrong. Can you paste the path that it tries to load from your system?

https://github.com/MrJohz/appdirectory/blob/master/lib/appdirectory.js#L21


This is a reply from @robsonsobral@robsonsobral

@auchenberg , thnk you for your attention!

screen shot 2017-11-30 at 11 27 19

I'm sorry about the delay.


This is a reply from @robsonsobral@robsonsobral

@auchenberg , actually I tested on Mac and Windows 10. Not Linux.

I'm sorry.


Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the “Import Sublime settings” command on Linux/OpenSUSE and inspect the DevTools console for the path it attempts to load. Read the appdirectory.js path-resolution logic linked in the discussion, then verify that the extension finds the Sublime settings in the reported /home//.local/share/Sublime Text 3/ location and imports them successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.