mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
completions: property_completer improvements
This commit is contained in:
parent
582502c1b4
commit
bcac788456
15 changed files with 76 additions and 33 deletions
|
@ -35,6 +35,7 @@ from blueprintcompiler.errors import (
|
|||
MultipleErrors,
|
||||
PrintableError,
|
||||
)
|
||||
from blueprintcompiler.lsp import LanguageServer
|
||||
from blueprintcompiler.outputs.xml import XmlOutput
|
||||
from blueprintcompiler.tokenizer import Token, TokenType, tokenize
|
||||
|
||||
|
@ -44,7 +45,7 @@ class TestSamples(unittest.TestCase):
|
|||
for i in range(len(text)):
|
||||
ast.get_docs(i)
|
||||
for i in range(len(text)):
|
||||
list(complete(ast, tokens, i))
|
||||
list(complete(LanguageServer(), ast, tokens, i))
|
||||
ast.get_document_symbols()
|
||||
|
||||
def assert_sample(self, name, skip_run=False):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue