We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9df0ab5 commit 069c0c6Copy full SHA for 069c0c6
jedi_language_server/server.py
@@ -420,10 +420,11 @@ def references(
420
jedi_script = jedi_utils.script(server.project, document)
421
jedi_lines = jedi_utils.line_column(params.position)
422
names = jedi_script.get_references(*jedi_lines)
423
+ ignore_folders = server.initialization_options.workspace.symbols.ignore_folders
424
locations = [
425
location
426
for location in (jedi_utils.lsp_location(name) for name in names)
- if location is not None
427
+ if location is not None and not _ignore_folder(location, ignore_folders)
428
]
429
return locations if locations else None
430
0 commit comments