-
Notifications
You must be signed in to change notification settings - Fork 769
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
Auto complete for file/path name and pandas
column name with bracket access
#851
Comments
Both of these rely on runtime data, things we don't have access to as a static analyzer. Jupyter itself has this data in memory and should already be suggesting it. Are you not seeing these completions when using the Jupyter extension in a notebook? |
Can you try manually triggering a completion by hitting Ctrl+Space inside of one of those strings? And is this the new or old notebook system in the Jupyter extension? |
The pandas part is a dup? #102 |
Yes, it is. As for the file-path one, I can't find it, but I believe that's a feature request we said we weren't going to do either (as it escapes the bounds of what's reasonable in a python analyzer). For notebooks, they already handle this because jupyter has this built-in and already accesses loads of runtime data. |
In Juypter notebook, when you are trying to read a file with command
df = pd.read_csv('./myfile.csv')
for the file name, you can just type
'./m
then press TAB to get a list of your file that you can pick from.In Jupyter notebook, when you are typing the name of a column, e.g. you are accessing
df['date_start']
, while you are typingdf['d
then you press TAB, it's will show the option or autocomplete for you,I think it's would be nice if we have this feature in VSCODE
The text was updated successfully, but these errors were encountered: