Skip to content
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

Intellisense code completion not working for backend modules #149

Open
gasbi opened this issue Oct 10, 2019 · 1 comment
Open

Intellisense code completion not working for backend modules #149

gasbi opened this issue Oct 10, 2019 · 1 comment

Comments

@gasbi
Copy link

gasbi commented Oct 10, 2019

Describe the bug
The intelligent code-completion introduced in v0.2.0 is not working when trying to use the modules in backend folder. It works however with public and Corvid API.

Note that although the Intellisense is not working for the backend module, it works perfectly on the site. So, it is being correctly loaded and useful on the code, but there's no autocompletions as I have with public modules.

To Reproduce
Steps to reproduce the behavior:

  1. Update to v0.2.1.
  2. Add module in src/backend folder.
  3. Try to import the module in a page code.
  4. See error

Expected behavior
I would expect the IntelliSense to work as well for backend modules, as it works for those in src/public folder.

Screenshots
Attached an screenshot showing how the public folder appears as suggestion when importing a module, but not the backend folder. Also, it can be seen the error shown by VSCode when imported from backend.
image

Another error appears on the file src/backend/tsconfig.json, which seems to be related, and it does not appear on the public folder. See screenshot with the error.
image

Desktop (please complete the following information):

  • OS: macOS Mojave 10.14.6
  • corvid-cli: v0.2.1
  • corvid-types: v0.1.86
  • vscode: 1.39.0

Additional context
The IDE used is VSCode

@avrtau
Copy link

avrtau commented Apr 6, 2020

Any movement on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants