atom-community / atom-community/autocomplete-paths

prefixes doesn't work in .py?

Open
#182 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
152
Forks
57
PR merge metrics
No merged PRs in 30d

Description

when I write
`filename = ''`
in .py, I just want the file path will appear in quotes, so I can select to autocomplete.
So I add these codes in config.cson, but nothing happen
```
prefixes: [
"\\w+\\s+=\\s+['\"]"
]
```
Is the prefixes wrong? Or something else...
Thanks

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Python case with the `prefixes` setting in `config.cson`, using the reported assignment and quoted path. Check whether the configured pattern is recognized and determine what behavior would confirm that path completion is triggered after the quote; done means the file path can be selected for autocomplete.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.