continue-custom/extensions/vscode
Nate Sesti e71ffb8cf2
Dev (#1683)
* Fix an issue where CMD+K does not clear the terminal when the terminal has focus (#1671)

On MacOS, ⌘+K is bound, by default, to Terminal:Clear. Without this
change ⌘+K does not clear the terminal but instead iniates a chord
sequence and waits for the next stroke of the chord.

Co-authored-by: Rob Leidle <rleidle@tesla.com>

* Change treeSitter to cache the Language objects it loads from wasm (#1672)

Without this change, for a repository with 600 typescript files, the
indexer would fail to finish correctly and there would be many of the
following errors in the webview console log:

'Unable to load language for file ${path} RuntimeError: table index is out of bounds'

The following bash will create a repo that reproduces the problem:

current_path="."

for ((i=1; i<=20; i++)); do
    new_folder="folder-$i"
    mkdir -p "$current_path/$new_folder"
    current_path="$current_path/$new_folder"

    for ((a=1; a<=30; a++)); do
      head -c 10000 /dev/urandom | base64 > "$current_path/file-$a.ts"
    done
done

Co-authored-by: Rob Leidle <rleidle@tesla.com>

* acknowledge sourcemap flag in esbuild.js

* don't run jetbrains-release.yaml on vscode releases

* further testing for walkDir

* chore: add telemetry to commands (#1673)

* test: Add basic unit test to baseLLM (#1668)

* update version

* test: Add basic unit test to baseLLM

---------

Co-authored-by: Nate Sesti <sestinj@gmail.com>
Co-authored-by: inimaz <imaz@ai-verse.com>

* feat: add Quick Actions CodeLens feature (#1674)

* docs: add docs and schema for "OS" provider (#1536)

* ignore .env

* ✨ use and cache imports for autocomplete (#1456)

* ✨ use and cache imports for autocomplete

* fix tsc

* add voyage rerank-1

* import Handlebars

* feat: open pane on install (#1564)

* feat: open pane on activation

* comment out testing code

* chore: add telemetry for pageviews (#1576)

* feat: update onboarding w/ embeddings model (#1570)

* chore(gui): remove unused pages

* feat: add embeddings step

* feat: update styles

* feat: copy button updates

* fix: correct pull command for embed model

* fix: remove commented code

* fix: remove commented code

* feat: simplify copy btn props

* chore: rename onboarding selection event

* feat: add provider config

* fix: undo msg name

* remove dead code

* fix: invalid mode check

* fix: remove testing logic

* fix: fullscreen gui retains context when hidden, fixed fullscreen focusing (#1582)

* small UI tweaks

* media query

* feat: add best experience onboarding

* small fixes

* feat: add free trial card to onboarding (#1600)

* feat: add free trial card to onboarding

* add import

* chore: add telemetry for full screen toggle (#1618)

* rerank-lite-1

* remove doccs

* basic tests for VS Code extension

* improved testing of VS Code extension

* manually implement stop tokens for hf inference api

* chore: onboarding metrics (#1626)

* fix: pageview tracking

* feat: add onboarding telemetry

* create single `onboardingStatus` type

* improved var naming

* remove console logs

* fix windows performance issue

* rename vscodeExtension.ts

* migration of onboarding variables

* "stash" instead of "delete" in indexing progress

* fix preview.yaml

* also fix main.yaml

* Update troubleshooting.md (#1637)

* feat: add quick actions

* Update index.d.ts

* quick actions mvp

* update docs

* subscribe to vscode change settings

* Update commands.ts

* cleanup

* Update quick-actions.md

* Update VerticalPerLineCodeLensProvider.ts

* resolve feedback

---------

Co-authored-by: Nate Sesti <sestinj@gmail.com>
Co-authored-by: Nate Sesti <33237525+sestinj@users.noreply.github.com>
Co-authored-by: Jonah Wagner <jonahwagner231@gmail.com>

* chore: add `isCommandEvent` to command telemetry (#1675)

* chore: add `isCommandEvent` to command telemetry

* Update commands.ts

* Nate/better retrieval (#1677)

* deduplicatearray tests

* break out separate retrieval pipelines

* IConfigHandler

* tests for codebase indexer

* better .continueignore for continue

* indexing fixes

* ignore .gitignore and .continueignore when indexing

* retrieval pipeline improvements

* fix formatting err in out .continueignore

* add necessary filter to lance_db_cache

* update package.json version

* skip unused tests

* don't ignore .prompt files

* update version

---------

Co-authored-by: Rob Leidle <rleidle@gmail.com>
Co-authored-by: Rob Leidle <rleidle@tesla.com>
Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
Co-authored-by: inimaz <49730431+inimaz@users.noreply.github.com>
Co-authored-by: inimaz <imaz@ai-verse.com>
Co-authored-by: Jonah Wagner <jonahwagner231@gmail.com>
2024-07-07 23:14:10 -07:00
..
.prompts 🎨 Merge Preview (#1333) 2024-05-21 09:44:28 -07:00
builtin-themes 💄 manually package built-in vs code themes 2024-02-06 22:34:44 -08:00
gui 🍱 track onigasm.wasm in git 2024-02-05 23:04:03 -08:00
manual-testing-sandbox 🎨 Merge Preview (#1333) 2024-05-21 09:44:28 -07:00
media ⚡️ Preview (#1228) 2024-05-03 14:05:25 -07:00
models 🚢 Preview (#1355) 2024-05-24 22:39:22 -07:00
scripts Dev (#1678) 2024-07-05 23:20:28 -07:00
src fix quick edit history 2024-07-06 20:11:43 -07:00
tag-qry 🚧 full draft of code context provider 2024-03-09 13:54:19 -08:00
textmate-syntaxes 🎨 Replace Shiki with Monaco (#825) 2024-02-05 20:15:52 -08:00
tree-sitter dev (#1542) 2024-06-28 16:21:36 -07:00
.continueignore Dev (#1678) 2024-07-05 23:20:28 -07:00
.continuerc.json 🎨 Merge Preview (#1333) 2024-05-21 09:44:28 -07:00
.eslintrc.json ✨ merge preview to main (#575) 2023-10-22 19:34:44 -07:00
.gitignore 🐛 partial fix for dev containers loading config 2024-02-06 13:23:27 -08:00
.npmrc ⏩ Preview to main (#1299) 2024-05-16 22:15:44 -07:00
.vscodeignore chore: reduce vscode extension bundle size (#1647) 2024-07-03 00:09:31 -07:00
CHANGELOG.md changelog 2024-07-02 19:19:45 -07:00
config_schema.json Dev (#1678) 2024-07-05 23:20:28 -07:00
continue_rc_schema.json Dev (#1678) 2024-07-05 23:20:28 -07:00
continue_tutorial.py ⚡️ Preview (#1228) 2024-05-03 14:05:25 -07:00
CONTRIBUTING.md dev (#1542) 2024-06-28 16:21:36 -07:00
esbuild.test.mjs 🚢 Preview (#1355) 2024-05-24 22:39:22 -07:00
LICENSE.txt ✨ merge preview to main (#575) 2023-10-22 19:34:44 -07:00
package-lock.json fix quick edit history 2024-07-06 20:11:43 -07:00
package.json Dev (#1683) 2024-07-07 23:14:10 -07:00
README.md messaging iteration 2 (#1480) 2024-06-13 18:37:42 -07:00
tsconfig.json 🐛 fix type collision between jest and mocha 2024-06-19 14:31:57 -07:00
vsc-extension-quickstart.md ✨ merge preview to main (#575) 2023-10-22 19:34:44 -07:00

readme

Continue

Continue is the leading open-source AI code assistant. You can connect any models and any context to build custom autocomplete and chat experiences inside VS Code and JetBrains

Easily understand code sections

understand

cmd+L (MacOS) / ctrl+L (Windows)

Tab to autocomplete code suggestions

autocomplete

tab (MacOS) / tab (Windows)

Refactor functions where you are coding

inline

cmd+I (MacOS) / ctrl+I (Windows)

Ask questions about your codebase

codebase

@codebase (MacOS) / @codebase (Windows)

Quickly use documentation as context

docs

@docs (MacOS) / @docs (Windows)

Getting Started

You can try out Continue with our free trial models before configuring your setup.

Learn more about the models and providers here.

License

Apache 2.0 © 2023 Continue Dev, Inc.