-
Notifications
You must be signed in to change notification settings - Fork 193
Add new completion API #866
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
Merged
predragnikolic
merged 71 commits into
sublimelsp:st4000-exploration
from
predragnikolic:add_auto_complete_ignored_triggers_setting
Mar 29, 2020
Merged
Changes from 48 commits
Commits
Show all changes
71 commits
Select commit
Hold shift + click to select a range
2a13eb5
Don't trigger AC on word_separators
predragnikolic 0812061
Merge branch 'master' into add_auto_complete_ignored_triggers_setting
predragnikolic 7cff503
Add back complete_all_chars
predragnikolic 5dd6977
fix pycodestyle error
predragnikolic 0a15bf6
Update plugin/completion.py
predragnikolic 3ea2e42
Remove ignored_trigger_chars
predragnikolic 0b58895
Integrate new completion api
predrag-codetribe 12e196e
fix typo
predrag-codetribe 8320d05
Support snippets
predragnikolic a9e7672
Merge branch 'master' into add_auto_complete_ignored_triggers_setting
predragnikolic c43c278
Insert textEdit completion,
predragnikolic e21b1a9
update text icon and remove unused function
predragnikolic a86c249
FIX AttributeError: module 'asyncio' has no attribute 'get_running_loop'
predragnikolic 2f5aeae
Use text edit Range
predragnikolic 59c6c0b
Merge branch 'fix-running-tests' into add_auto_complete_ignored_trigg…
predragnikolic 534ae8a
use text edit range
predragnikolic c3d8807
make flake and mypy happy
predragnikolic 40ef4be
Merge branch 'master' into add_auto_complete_ignored_triggers_setting
predragnikolic ea29e0b
Add typings and remove unused class property
predragnikolic 7d78abb
When choosing a completion item the typed text (prefix) will be delet…
predragnikolic 97ae903
Add cache
predragnikolic ea4dd30
Ignore mypy error instead of casting a type
predragnikolic 8a11721
revert back timeout
predragnikolic f9d8bb9
Remove committing flag
predragnikolic 793ec40
better comment
predragnikolic 10ad58a
revert accidentally committed code
predragnikolic d2505b0
remove last_text_command as it is not necessary
predragnikolic 542b489
remove completion_hint_type setting
predragnikolic d5a5d62
remove quotes from types
predragnikolic d7fd65d
Merge branch 'master' into add_auto_complete_ignored_triggers_setting
predragnikolic f46548a
Use text_edit['range'].end and remove duplicated functions
predragnikolic ff9e0ae
Skip calculating the offset by inserting the removed prefix first. An…
predragnikolic 2f504f7
Add types and remove trigger_chars from instance properties
predragnikolic 896dcef
Fix flake
predragnikolic 87ab9e3
remove auto_complete_selector
predragnikolic 1744b16
Handle multiple cursor completions
predragnikolic 5782b46
Can be(will be probably) reverted. This is my try to fix the completi…
predragnikolic 316d29d
Change keyword icon "κ" to something that looks like a key => "☌"
predragnikolic 64627ee
Merge branch 'st4000-exploration' into add_auto_complete_ignored_trig…
predragnikolic 8dd14b3
Revert "Change keyword icon "κ" to something that looks like a key =>…
predragnikolic f47083e
Remove if check for document_position
predragnikolic 542245e
fix typo
predragnikolic 44a3b2a
erase regoion for snippet, replace region for plain text
predragnikolic 33496ac
don't allocate a dict
predragnikolic 7b154e6
remove indent
predragnikolic c0805be
fix other failing tests
predragnikolic b528475
Use set_response and await_message in favour of test_compmpletion pro…
predragnikolic 2497a45
Send a resolve request only if we don't have apply_additional_edits o…
predragnikolic 9fe640a
Merge branch 'master' into add_auto_complete_ignored_triggers_setting
predragnikolic a99cff7
Add E2E tests for prefering insert text over label and text edit over…
predragnikolic 49ccda6
add test to apply additional edits only one time
predragnikolic cc475e9
set "auto_complete_preserve_order" to "none" in tests
predragnikolic 61099bc
make mypy and pyflake happy
predragnikolic 9e54c83
Remove "complete_all_chars" setting in favor of sublime default "auto…
predragnikolic 6fed5d3
Add test for intelephense
predragnikolic dae5eba
remove old completion samples
predragnikolic 1ccb7ab
Fix sublime removing $ from the prefix
predragnikolic 036e432
Revert "erase regoion for snippet, replace region for plain text"
predragnikolic d974c22
Workaround for TextEdit range not being valid when selection a comple…
predragnikolic e3f580c
Better handle multicursor text edits
predragnikolic f207bf2
Move save lines to on_query_completions, and clean up the a little
predragnikolic 4468f8a
make flake8 and mypy happy
predragnikolic f38aaa0
Merge branch 'master' into add_auto_complete_ignored_triggers_setting
predragnikolic bc687e5
fix typo
predragnikolic 07f7824
Dont use static class variables for saving the Line contents, because…
predragnikolic 51bbd4d
fix for commit_completion re-triggers the completion panel "forever"
predragnikolic b5c0de6
Better handle multicursor text edits
predragnikolic 34ae9e1
use transform_region to restore file contents
predragnikolic 18c47e3
Resolve the completion promise in the handle_error
predragnikolic 6e596e4
remove hiding auto_complete gloably after commit_completions
predragnikolic 9d0d7ea
Merge branch 'st4000-exploration' into add_auto_complete_ignored_trig…
predragnikolic File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.