-
Notifications
You must be signed in to change notification settings - Fork 36
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
VSCode mainbeanfile: no effect #43
Comments
Have installed Python3 and beancount, and set |
yes:
BeanFolder |
yes. it says
so i guess the the file specification is not at the correct place or the vscode workspace folder is a wrong one. i wondered about that and how to find out. |
Can you please try opening |
[wanted to edit my previous post but you commented quicker]
this error is probably related to node.js and not of beancount's concern, according to |
I guess the issue is |
you nailed it. that fixed it. now the suggestions in child.bean are properly displayed. i will edid the opening post with the solution and then we can close this. thanks a ton for your help & suggestions! |
i indeed opened the main folder in a new vscode window, et voila, it works. |
I'd love to use the autocomplete feature based on my full ledger, but i can't get it working. Any suggestions?
[SOLVED: see solution at the bottom of this opening post]
System: WSL Ubuntu 18.04 & VSCode, beancount extension
steps to reproduce:
intended behavior:
show suggestions from main.bean and all included files (image from within main.bean:
I also made the settings.json with
according to the scheme below. I wonder how it relates to the user/workspace settings of vscode
BeanFolder
├── ledgerFiles
│ ├── .vscode
│ │ └── settings.json
│ └── main.bean
SOLUTION
The cause of the problem was
main.bean
file where a relative path is required.so i could fix the problem by changing
to
just to be clear, these lines need to be
you can find the correct relative path by right clicking the main.bean in the explorer pane:
the correct python path you can find by entering
which python3
and copy-pasting the answer[edit]
with these 2 paths in my Workspace Setting I managed to activate auto completion without the restriction of having the main bean folder as vscode working space folder.
The text was updated successfully, but these errors were encountered: