Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: unit-mesh/auto-dev-vscode
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.3.3
Choose a base ref
...
head repository: unit-mesh/auto-dev-vscode
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Jun 3, 2024

  1. refactor(team-prompts): move file reading inside try block

    Moved the file reading operation inside the try block in TeamPromptsBuilder.ts to handle potential errors more effectively.
    phodal committed Jun 3, 2024
    Copy the full SHA
    a6b69e6 View commit details

Commits on Jun 6, 2024

  1. Copy the full SHA
    cf5a147 View commit details
  2. Copy the full SHA
    4a26cda View commit details

Commits on Jun 14, 2024

  1. feat: better interactive experience (#55)

    * chore: simplified launch steps
    
    * WIP: Refactoring main code
    
    * WIP: remove walkthroughs files
    
    * wip: optimize code
    
    * wip: complete codelens commands
    
    * wip: support chat history and slash command
    
    * wip: hide debugRunR command
    
    * wip: migration fix command
    
    * wip: migration more model providers
    
    * wip: perfect document
    
    * wip: add file ignore rules
    
    * wip: fix executeIns and quick search
    
    * test: fix test env
    zhengxs2018 authored Jun 14, 2024
    Copy the full SHA
    9620fdf View commit details
  2. chore: fix some warn

    phodal committed Jun 14, 2024
    Copy the full SHA
    c94ec76 View commit details
  3. refactor(openaiProvider): remove unnecessary ts-ignore

    Removed the @ts-ignore comment as it is no longer needed for the import statements.
    phodal committed Jun 14, 2024
    Copy the full SHA
    df38b6f View commit details
  4. docs: update changelog

    phodal committed Jun 14, 2024
    Copy the full SHA
    7f838df View commit details
  5. docs(embedding): update deprecation comments with JSDoc links

    Updated deprecation comments to use {@link LanguageModelsService} for better documentation and navigation.
    phodal committed Jun 14, 2024
    Copy the full SHA
    ec59f51 View commit details
  6. Copy the full SHA
    69f35cf View commit details
  7. Copy the full SHA
    e66a4f8 View commit details

Commits on Jun 18, 2024

  1. Copy the full SHA
    9ebfe0e View commit details
  2. Copy the full SHA
    be24963 View commit details
  3. Copy the full SHA
    726e842 View commit details

Commits on Jun 19, 2024

  1. Copy the full SHA
    e2070d4 View commit details

Commits on Jun 27, 2024

  1. feat: support fim special tokens configuration (#62)

    * fix: support for chat.models override base configuration
    
    * fix: some non-functional bug
    
    * feat: support fim special tokens configuration
    zhengxs2018 authored Jun 27, 2024
    Copy the full SHA
    ccc47fb View commit details

Commits on Jul 5, 2024

  1. fix(extension): fix hf local model and remote cache paths (#64)

    * feat: add extension path join
    
    * docs: add some links
    
    * chore(sqlite3): add china proxy repo
    
    * fix(extension): fix hf local model and remote cache paths
    zhengxs2018 authored Jul 5, 2024
    Copy the full SHA
    1d5c96f View commit details
  2. feat(embedding): implement ILanguageModelProvider in LocalEmbeddingsP…

    …rovider
    
    The LocalEmbeddingsProvider class now implements the ILanguageModelProvider interface. This includes the addition of several methods such as provideChatResponse, provideCompletionResponse, provideEmbedDocuments, and provideEmbedQuery. Also, a log message was added to indicate the completion of LanceDB indexing.
    phodal committed Jul 5, 2024
    Copy the full SHA
    a7a1862 View commit details

Commits on Jul 7, 2024

  1. feat(search): add removeDocument method to Tfidf class

    This commit introduces a new method, removeDocument, to the Tfidf class in the code-search module. This method allows for the removal of a document from the documents array using a key. If the document is found and removed, the idfCache is invalidated.
    phodal committed Jul 7, 2024
    Copy the full SHA
    9b63fcd View commit details

Commits on Jul 9, 2024

  1. Copy the full SHA
    c6a92b4 View commit details
  2. Copy the full SHA
    3ebfa8f View commit details

Commits on Jul 10, 2024

  1. Copy the full SHA
    ddff9fb View commit details

Commits on Jul 11, 2024

  1. fix(commandsService): swap SemanticSearchKeyword and SemanticSearchCo…

    …de methods
    
    Switch the functionality of `codespaceCodeAnalysis` and `codespaceKeywordsAnalysis` methods in `commandsService.ts`. Now `codespaceCodeAnalysis` uses `SemanticSearchCode` and `codespaceKeywordsAnalysis` uses `SemanticSearchKeyword`.
    phodal committed Jul 11, 2024
    Copy the full SHA
    f87dbc7 View commit details
  2. Copy the full SHA
    3e8e2d2 View commit details
  3. Copy the full SHA
    15a6c80 View commit details
  4. Copy the full SHA
    ebaf37c View commit details

Commits on Jul 13, 2024

  1. feat(chatView): auto add selected code to chat panel when shortcut (c…

    …trl + l) or the menu
    
    * When the chat is opened via the shortcut  (ctrl + l) or the menu, the selected code is automatically added to the chat panel.
    
    * refactor: Add autodev.quickChat command
    meteor199 authored Jul 13, 2024
    Copy the full SHA
    c0c97ef View commit details

Commits on Jul 16, 2024

  1. refactor(chatView): Enhance chatView by avoiding webview destruction …

    …and boosting operation speed (#70)
    
    * refactor(chatView): Enhance chatView by avoiding webview destruction and boosting operation speed
    
    * Optimize chatView request: Switch from loop waiting to waiting for chatView onLoad
    meteor199 authored Jul 16, 2024
    Copy the full SHA
    053680a View commit details

Commits on Jul 19, 2024

  1. refactor(JaccardSimilarity): extend new Similarity abstract class

    JaccardSimilarity class now extends a new abstract class, Similarity. The `tokenLevelJaccardSimilarity` method has been renamed to `computeInputSimilarity` to match the abstract method in the Similarity class. The `tokenize` method has been moved to the Similarity class. All references to `tokenLevelJaccardSimilarity` have been updated to `computeInputSimilarity`.
    phodal committed Jul 19, 2024
    Copy the full SHA
    220e40f View commit details
  2. refactor(code-search): replace Similarity with TokenizedSimilarity in…

    … JaccardSimilarity
    
    The Similarity class has been renamed to TokenizedSimilarity and the JaccardSimilarity class now extends from this new class. Additionally, a new Similarity interface has been introduced.
    phodal committed Jul 19, 2024
    Copy the full SHA
    fa7c84a View commit details
  3. feat(code-search): implement BM25 similarity algorithm

    Implements the BM25 Similarity algorithm in the `BM25Similarity.ts` file, which extends the `TokenizedSimilarity` class. This algorithm enhances the computation of input similarity for code search queries. It includes the calculation of IDF (Inverse Document Frequency) and BM25 scoring to improve the relevance of search results.
    phodal committed Jul 19, 2024
    Copy the full SHA
    6a9175c View commit details
  4. chore: release to 0.5.2

    phodal committed Jul 19, 2024
    Copy the full SHA
    adf70e1 View commit details
  5. chore: update CHANGELOG

    phodal committed Jul 19, 2024
    Copy the full SHA
    7c5cc1e View commit details

Commits on Aug 5, 2024

  1. Update team-prompts.md

    phodal authored Aug 5, 2024
    Copy the full SHA
    67ea88c View commit details

Commits on Aug 21, 2024

  1. Copy the full SHA
    5f36e14 View commit details
  2. refactor(language): update language configuration structure

    - Update file paths and interface names for clarity.
    - Modify ProviderContainer configuration for new language support.
    - Adjust LanguageProfile interface properties and queries.
    phodal committed Aug 21, 2024
    Copy the full SHA
    021a70a View commit details
  3. Copy the full SHA
    f38d493 View commit details
  4. Copy the full SHA
    963f2d6 View commit details
  5. Copy the full SHA
    21e66a3 View commit details
  6. Copy the full SHA
    312d986 View commit details

Commits on Aug 22, 2024

  1. chore: remove vsc-extension-quickstart.md file

    Automate builds by setting up Continuous Integration.
    phodal committed Aug 22, 2024
    Copy the full SHA
    5c78d19 View commit details
  2. style(gui): update text and button labels

    - Update text and button labels for consistency and clarity.
    phodal committed Aug 22, 2024
    Copy the full SHA
    53531d4 View commit details
  3. feat(language): add Rust language profile

    Add Rust language profile with syntax queries and language-specific configurations.
    phodal committed Aug 22, 2024
    Copy the full SHA
    28e13e9 View commit details
  4. docs(development): add checklist for adding new language support

    Add checklist for adding a new language to the development documentation.
    phodal committed Aug 22, 2024
    Copy the full SHA
    f73a13f View commit details

Commits on Aug 23, 2024

  1. feat: add comprehensive code examples in Kotlin, Rust, and C#

    - Added code examples covering variables, functions, control flow, classes, enums, generics, error handling, and more in Kotlin, Rust, and C#.
    phodal committed Aug 23, 2024
    Copy the full SHA
    0580609 View commit details

Commits on Aug 29, 2024

  1. [AddNewCodelens]:Add new codelen item name is "AutoMethod"

                                    To Complet the codes of the method.
    a793181018 committed Aug 29, 2024
    Copy the full SHA
    36b1252 View commit details
  2. Copy the full SHA
    4193a9a View commit details
  3. Update auto-doc.vm

    a793181018 authored Aug 29, 2024
    Copy the full SHA
    09eba65 View commit details
  4. Copy the full SHA
    217c4c7 View commit details
  5. Merge pull request #76 from a793181018/NewMaster

    [AddNewLanguageSupport]:Add Csharp Language Support
    phodal authored Aug 29, 2024
    Copy the full SHA
    dae578c View commit details
  6. Copy the full SHA
    a1ee29f View commit details
Showing 375 changed files with 14,013 additions and 9,488 deletions.
12 changes: 11 additions & 1 deletion .cspell.json
Original file line number Diff line number Diff line change
@@ -11,9 +11,19 @@
"useGitignore": true,
"ignorePaths": [],
"words": [
"codeqwen",
"identifer",
"inversify",
"lancedb",
"ollama",
"onnx",
"openai",
"phodal"
"phodal",
"qianfan",
"qwen",
"tolist",
"tongyi",
"xenova"
],
"allowCompoundWords": true,
"overrides": []
19 changes: 19 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# EditorConfig is awesome: https://EditorConfig.org

root = true

[*]
charset = utf-8
indent_style = tab
indent_size = 2
tab_width = 2
continuation_indent_size = 4 # IntelliJ family IDEs
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

[Makefile]
indent_size = 4
indent_style = tab
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -74,7 +74,7 @@ jobs:
# Store already-built plugin as an artifact for downloading
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ steps.artifact.outputs.filename }}
path: ${{ steps.artifact.outputs.filename }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -44,3 +44,5 @@ vite.config.mjs
bin
build/
examples/ollama-chat-server/demo/chat.mjs

backup
32 changes: 32 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"semi": true,
"singleQuote": true,
"printWidth": 120,
"arrowParens": "avoid",
"trailingComma": "all",
"plugins": [
"@trivago/prettier-plugin-sort-imports"
],
"importOrder": [
"^node:(.*)$",
"<THIRD_PARTY_MODULES>",
"^base/(.*)$",
"^[./]"
],
"importOrderParserPlugins": [
"decorators-legacy",
"typescript",
"explicitResourceManagement"
],
"importOrderSeparation": true,
"importOrderCaseInsensitive": true,
"importOrderSortSpecifiers": true,
"overrides": [
{
"files": ".prettierrc",
"options": {
"parser": "json"
}
}
]
}
56 changes: 27 additions & 29 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -3,33 +3,31 @@
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
{
"version": "0.2.0",
"configurations": [
{
"name": "Run Extension",
"type": "extensionHost",
"request": "launch",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
],
"outFiles": [
"${workspaceFolder}/dist/**/*.js"
],
"preLaunchTask": "npm: watch",
},
{
"name": "Extension Tests",
"type": "extensionHost",
"request": "launch",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
],
"outFiles": [
"${workspaceFolder}/out/**/*.js",
"${workspaceFolder}/dist/**/*.js"
],
"preLaunchTask": "tasks: watch-tests"
}
]
"version": "0.2.0",
"configurations": [
{
"name": "Run Extension",
"type": "extensionHost",
"request": "launch",
"cwd": "${workspaceFolder}/extensions/vscode",
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
"pauseForSourceMap": false,
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
"preLaunchTask": "extension:build"
},
{
"name": "Extension Tests",
"type": "extensionHost",
"request": "launch",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
],
"outFiles": [
"${workspaceFolder}/out/**/*.js",
"${workspaceFolder}/dist/**/*.js"
],
"preLaunchTask": "tasks: watch-tests"
}
]
}
131 changes: 82 additions & 49 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,53 +1,86 @@
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "watch",
"problemMatcher": {
"pattern": {
"regexp": ".*?(build started...).*?",
},
"background": {
"activeOnStart": true,
"beginsPattern": {
"regexp": ".*?(build started...).*?"
},
"endsPattern": {
"regexp": ".*?(built in ).*?"
}
},
},
"isBackground": true,
"presentation": {
"reveal": "never",
"group": "watchers"
},
"group": {
"kind": "build",
"isDefault": true
}
},
{
"type": "npm",
"script": "watch-tests",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never",
"group": "watchers"
},
"group": "build"
},
{
"label": "tasks: watch-tests",
"dependsOn": [
"npm: watch",
"npm: watch-tests"
],
"problemMatcher": []
}
]
"version": "2.0.0",
"tasks": [
{
"label": "extension:build",
"dependsOn": ["extension:dev", "gui:dev"],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "extension:dev",
"type": "npm",
"script": "watch",
"problemMatcher": {
"pattern": {
"regexp": ".*?(build started...).*?"
},
"background": {
"activeOnStart": true,
"beginsPattern": {
"regexp": ".*?(build started...).*?"
},
"endsPattern": {
"regexp": ".*?(built in ).*?"
}
}
},
"isBackground": true,
"presentation": {
"reveal": "never",
"group": "watchers"
},
"group": {
"kind": "build",
"isDefault": true
}
},
{
"type": "npm",
"script": "watch-tests",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never",
"group": "watchers"
},
"group": "build"
},
{
"label": "tasks: watch-tests",
"dependsOn": ["npm: watch", "npm: watch-tests"],
"problemMatcher": []
},
{
"label": "gui:dev",
"type": "shell",
"command": "npm",
"options": {
"cwd": "${workspaceFolder}/gui-sidebar"
},
"args": ["run", "watch"],
"isBackground": true,
"problemMatcher": [
{
"pattern": [
{
"regexp": ".",
"file": 1,
"location": 2,
"message": 3
}
],
"background": {
"activeOnStart": true,
"beginsPattern": ".",
"endsPattern": "."
}
}
]
}
]
}
6 changes: 6 additions & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
.github
.vscode/**
.vscode-test/**
out/**
node_modules/**
src/**
.gitignore
.yarnrc
.cspell.json
.node-version
webpack.config.js
vsc-extension-quickstart.md
**/tsconfig.json
@@ -18,6 +21,9 @@ semantic/**
coverage/**
extension-manual-tests/

examples/**
vendors/**

# ignore arm64 build for temporary
dist/bin/napi-v3/linux/arm64
dist/bin/napi-v3/win32/arm64
Loading