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

⌨️ VSCode Autocomplete Extension #153

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

luiguild
Copy link
Member

@luiguild luiguild commented Jun 27, 2024

SUMMARY

Provides autocomplete suggestions with the names of Based.io Functions or Queries present in the project.

DETAILS

Usage:
VSCode

DEVELOPER IMPACT

Now is possible to list all the functions easily!

TESTING

Is not possible to install it by the Markeplace yet, but you can test it manually untill then.

On terminal:

  • Clone the repo
  • Go to packages/vscode
  • Open the project using code .
  • Start the extension in debug mode:
    • Press F5 in VSCode. This will open a new instance of VSCode with the extension loaded in debug mode.
    • Open a TypeScript or JavaScript project in the VSCode development instance.
    • Check for based.config.ts files in the project.
    • Use the useBasedQuery hook (only available in the @based/solidjs for now) in a TypeScript or JavaScript file. When you start typing the value of the first parameter of useBasedQuery, you'll see the suggestions coming from the extension.

TODO

Publish to VSCode Marketplace.
We need to create an Organization in Azure DevOps (IDK if we already have that).

Alt Text

@luiguild luiguild marked this pull request as ready for review June 27, 2024 13:27
@luiguild luiguild changed the title VSCode Autocomplete Extension ⌨️ VSCode Autocomplete Extension Jun 27, 2024
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

Successfully merging this pull request may close these issues.

1 participant