sublime-fscompletion icon indicating copy to clipboard operation
sublime-fscompletion copied to clipboard

How to make it work? any demo?

Open BarbzYHOOL opened this issue 7 years ago • 13 comments

This is the 5th package about filename completion that I install and none is working so I'm probably doing something wrong

How to test the package to verify it works plz?

BarbzYHOOL avatar Jul 10 '18 18:07 BarbzYHOOL

Hi there, there are some test files in the package directory, if you have it extracted. Typically you should be able to just type in part of a pathname and use the hotkey to show completions.

What platform are you on?

lingo avatar Jul 13 '18 07:07 lingo

linux, no idea how to test the files when instaling with package manager

Can you give me a step by step quick tutorial?

BarbzYHOOL avatar Jul 14 '18 14:07 BarbzYHOOL

The package manager installs packages as zipfiles. The test files are within the archive.

$ unzip -l ~/.config/sublime-text-3/Installed Packages/FileSystem\ Autocompletion.sublime-package
Archive:  FileSystem Autocompletion.sublime-package
  Length      Date    Time    Name
---------  ---------- -----   ----
    35146  2017-02-13 14:12   LICENSE.txt
     3707  2017-02-13 14:12   README.md
       . . .
      400  2017-02-13 14:12   testing/test.txt
       . . .
---------                     -------
    57198                     41 files

I would try to extract this somewhere, then open the file test.txt and try autocompleting on the filenames within this file.

I use altctrl/ to expand the completions, that's the default keybinding.

lingo avatar Aug 02 '18 19:08 lingo

I opened testing/text.txt

i place my cursor on one of the line and press alt+ctrl+/ (in the numerical pad) and nothing happens

I also try to type "tes and alt+ctrl+/ but nothing happens

I really don't think I'm testing it the proper way lol

BarbzYHOOL avatar Aug 19 '18 21:08 BarbzYHOOL

It sounds like you're doing exactly the right thing. If you're willing to persevere, you could enable debug mode in the package, and report here the console output.

To enable debug mode, use the menuitem SettingsPackage SettingsFileSystem AutocompletionSettings - User and make sure the following key exists:

{
	"debug":     true
}

lingo avatar Oct 26 '18 15:10 lingo

yeah, literally nothing happens in the console (as i suspected)

BarbzYHOOL avatar Nov 01 '18 19:11 BarbzYHOOL

That is weird, indeed! What OS are you on? I get screeds of output on debug mode, so it sounds like the plugin isn't running at all. Do you have other plugins active? Perhaps the keystroke is being consumed by another plugin?

lingo avatar Nov 01 '18 20:11 lingo

Ubuntu 14.04

Yes many plugins but how can I find if a hotkey is used? when i press the combination nothing happens anyway

BarbzYHOOL avatar Nov 01 '18 20:11 BarbzYHOOL

Ah, it does sound like a conflict with hotkeys. This is a weakness of sublime text still, that the hotkey management is difficult.

This may help:

https://packagecontrol.io/packages/FindKeyConflicts

I'll close this issue for now, but please re-open if it turns out not to be a key conflict.

lingo avatar Nov 01 '18 20:11 lingo


Entry Details

[alt+ctrl+/] file_system_comp_trigger FileSystem Autocompletion

BarbzYHOOL avatar Nov 01 '18 20:11 BarbzYHOOL

Okay, so no direct conflict there? To debug this, I think I'll need you to start sublime with no other plugins running, and see what the debug messages are (if some show up!) in the console.

Thanks for your persistence!

lingo avatar Nov 01 '18 23:11 lingo

Hmm, do you know how can I remove all plugins temporarily?

BarbzYHOOL avatar Nov 03 '18 15:11 BarbzYHOOL

Try temporarily moving your sublime config directory. On Linux this is usually in ~/.config somewhere. Move the directory to a different name, and then start sublime. This should have no plugins running. A new sublime config directory will be created.

---- On Sat, 03 Nov 2018 16:11:24 +0100 [email protected] wrote ----

Hmm, do you know how can I remove all plugins temporarily?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread.

lingo avatar Nov 03 '18 15:11 lingo