Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] How does it work? #57

Open
kud opened this issue Jul 26, 2019 · 7 comments
Open

[Question] How does it work? #57

kud opened this issue Jul 26, 2019 · 7 comments
Labels

Comments

@kud
Copy link

kud commented Jul 26, 2019

ST version: 3208

No automatic trigger, and autocomplete works like 1/10 times.

My settings:

{
	"animation_enabled": true,
	"auto_complete_commit_on_tab": true,
	"auto_complete_with_fields": true,
	"bold_folder_labels": true,
	"caret_extra_bottom": 2,
	"caret_extra_top": 2,
	"caret_extra_width": 1,
	"caret_style": "phase",
	"close_windows_when_empty": false,
	"color_scheme": "Packages/Oceanic Next Italic Color Scheme/Oceanic Next Italic.tmTheme",
	"copy_with_empty_selection": false,
	"default_encoding": "UTF-8",
	"detect_indentation": false,
	"detect_slow_plugins": true,
	"dictionary": "Packages/Language - English/en_GB.dic",
	"drag_text": false,
	"draw_minimap_border": false,
	"draw_white_space": "all",
	"ensure_newline_at_eof_on_save": true,
	"fade_fold_buttons": true,
	"file_exclude_patterns":
	[
		"*.pyc",
		"*.scssc",
		"*.cssc",
		"*.tpl.php",
		".DS_Store",
		"*.tpl.cache.php"
	],
	"findreplace_small": true,
	"folder_exclude_patterns":
	[
		".sass-cache",
		".git",
		"node_modules",
		".bundle"
	],
	"folder_no_icon": false,
	"font_face": "Operator Mono Lig Book",
	"font_options":
	[
		"gray_antialias"
	],
	"font_size": 17,
	"highlight_line": true,
	"highlight_modified_tabs": true,
	"highlight_unicode_color_name": "comment",
	"ignored_packages":
	[
		"Markdown",
		"Vintage"
	],
	"line_padding_bottom": 1,
	"line_padding_top": 1,
	"one_dark_show_scroll_tabs": false,
	"one_dark_show_tabs_dropdown": false,
	"overlay_scroll_bars": "enabled",
	"preview_on_click": false,
	"show_css_completions": false,
	"show_definitions": false,
	"show_encoding": true,
	"show_full_path": true,
	"show_line_endings": true,
	"show_tab_close_buttons": true,
	"sidebar_xsmall": true,
	"status_bar_brighter": true,
	"tab_size": 2,
	"tabs_small": true,
	"theme": "One Dark.sublime-theme",
	"theme_font_options":
	[
		"gray_antialias"
	],
	"translate_tabs_to_spaces": true,
	"tree_animation_enabled": true,
	"trim_trailing_white_space_on_save": true,
	"use_tab_stops": true,
	"word_wrap": true
}

and no special settings for this plugin.

@kud
Copy link
Author

kud commented Jul 26, 2019

Kapture 2019-07-26 at 11 53 26

@sagold
Copy link
Owner

sagold commented Aug 1, 2019

Hi kud.

Did you try following the tutorial and adopting the settings to your purpose? Per default, the es6 imports work for me quite fine, but it does heavily rely on the current scope, syntax-definitions and trigger configurations.

@sagold sagold added the Question label Aug 1, 2019
@kud
Copy link
Author

kud commented Aug 1, 2019

I'm not totally sure yet but it seems that there're some troubles with

Still investigating.

@kud
Copy link
Author

kud commented Aug 1, 2019

It's really weird because I've got your autocomplete at first, with a list of files, and just after it says FFP didn't found any file for "" and shows me the classic autocomplete (variables, etc).

@kud
Copy link
Author

kud commented Aug 1, 2019

If you've got:

import test from ""

and you start autocompletion at between the "", it'll give you sometimes:

FFP	 Completion abort - not a valid context
FFP	 Completion abort - no auto trigger found

@kud
Copy link
Author

kud commented Aug 1, 2019

@kud
Copy link
Author

kud commented Aug 2, 2019

Yeah sometimes I've got Not filepath found for which replaces your autocomplete by a classic autocomplete and I've got to retrigger it to get your pluging. Sounds weird.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants