[GH-ISSUE #59] Visual Studio Code Extension #48

Closed
opened 2026-10-26 21:02:47 +00:00 by bsakaguchi · 3 comments
Owner

Originally created by @geosem42 on GitHub (Nov 28, 2023).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-Coder/issues/59

Hello everyone,

Is there a plan to create a visual studio code extension that can use my codebase as context?

And thank you for DeepSeek, it's brilliant and I hope it stays free.

Originally created by @geosem42 on GitHub (Nov 28, 2023). Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-Coder/issues/59 Hello everyone, Is there a plan to create a visual studio code extension that can use my codebase as context? And thank you for DeepSeek, it's brilliant and I hope it stays free.
Author
Owner

@hobpond commented on GitHub (Nov 28, 2023):

Have you tried Continue.dev, an extension for VSCode? You can load the model with llama.cpp and add Deepseek as the model to use.
Here's my config (in the continue.dev text box, type /config to access) Got it from YearZero on TheBloke's discord.

{
  "models": [
    {
      "title": "CodeLlama-34b-Instruct",
      "provider": "llama.cpp",
      "model": "codellama-34b",
      "api_base": "http://localhost:8080"
    },
    {
      "title": "CodeLlama-7b-Instruct",
      "provider": "llama.cpp",
      "model": "codellama-7b",
      "api_base": "http://localhost:8080",
      "system_message": ""
    },
    {
      "title": "DeepSeek",
      "provider": "llama.cpp",
      "model": "deepseek-33b",
      "api_base": "http://localhost:8080"
    }
  ],
  "model_roles": {
    "default": "DeepSeek",
    "chat": "DeepSeek",
    "edit": "DeepSeek",
    "summarize": "DeepSeek"
  },
  "system_message": "",
  "slash_commands": [
    {
      "name": "edit",
      "description": "Edit highlighted code",
      "step": "EditHighlightedCodeStep"
    },
    {
      "name": "config",
      "description": "Customize Continue",
      "step": "OpenConfigStep"
    },
    {
      "name": "comment",
      "description": "Write comments for the highlighted code",
      "step": "CommentCodeStep"
    },
    {
      "name": "clear",
      "description": "Clear step history",
      "step": "ClearHistoryStep"
    },
    {
      "name": "share",
      "description": "Download and share this session",
      "step": "ShareSessionStep"
    },
    {
      "name": "cmd",
      "description": "Generate a shell command",
      "step": "GenerateShellCommandStep"
    }
  ],
  "custom_commands": [
    {
      "name": "test",
      "prompt": "Write a comprehensive set of unit tests for the selected code. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete and sophisticated. Give the tests just as chat output, don't edit any file.",
      "description": "Write unit tests for highlighted code"
    }
  ],
  "context_providers": [
    {
      "name": "diff"
    },
    {
      "name": "url"
    },
    {
      "name": "terminal"
    }
  ]
}
<!-- gh-comment-id:1830397136 --> @hobpond commented on GitHub (Nov 28, 2023): Have you tried Continue.dev, an extension for VSCode? You can load the model with llama.cpp and add Deepseek as the model to use. Here's my config (in the continue.dev text box, type /config to access) Got it from YearZero on TheBloke's discord. ```JSON { "models": [ { "title": "CodeLlama-34b-Instruct", "provider": "llama.cpp", "model": "codellama-34b", "api_base": "http://localhost:8080" }, { "title": "CodeLlama-7b-Instruct", "provider": "llama.cpp", "model": "codellama-7b", "api_base": "http://localhost:8080", "system_message": "" }, { "title": "DeepSeek", "provider": "llama.cpp", "model": "deepseek-33b", "api_base": "http://localhost:8080" } ], "model_roles": { "default": "DeepSeek", "chat": "DeepSeek", "edit": "DeepSeek", "summarize": "DeepSeek" }, "system_message": "", "slash_commands": [ { "name": "edit", "description": "Edit highlighted code", "step": "EditHighlightedCodeStep" }, { "name": "config", "description": "Customize Continue", "step": "OpenConfigStep" }, { "name": "comment", "description": "Write comments for the highlighted code", "step": "CommentCodeStep" }, { "name": "clear", "description": "Clear step history", "step": "ClearHistoryStep" }, { "name": "share", "description": "Download and share this session", "step": "ShareSessionStep" }, { "name": "cmd", "description": "Generate a shell command", "step": "GenerateShellCommandStep" } ], "custom_commands": [ { "name": "test", "prompt": "Write a comprehensive set of unit tests for the selected code. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete and sophisticated. Give the tests just as chat output, don't edit any file.", "description": "Write unit tests for highlighted code" } ], "context_providers": [ { "name": "diff" }, { "name": "url" }, { "name": "terminal" } ] } ```
Author
Owner

@hobpond commented on GitHub (Nov 28, 2023):

Oh, looks like this is a dup of #6 where code shell was recommended.

<!-- gh-comment-id:1830403003 --> @hobpond commented on GitHub (Nov 28, 2023): Oh, looks like this is a dup of #6 where code shell was recommended.
Author
Owner

@ngtanthanh-qc commented on GitHub (Dec 31, 2024):

Ollama working fine

Have you tried Continue.dev, an extension for VSCode? You can load the model with llama.cpp and add Deepseek as the model to use. Here's my config (in the continue.dev text box, type /config to access) Got it from YearZero on TheBloke's discord.

{
  "models": [
    {
      "title": "CodeLlama-34b-Instruct",
      "provider": "llama.cpp",
      "model": "codellama-34b",
      "api_base": "http://localhost:8080"
    },
    {
      "title": "CodeLlama-7b-Instruct",
      "provider": "llama.cpp",
      "model": "codellama-7b",
      "api_base": "http://localhost:8080",
      "system_message": ""
    },
    {
      "title": "DeepSeek",
      "provider": "llama.cpp",
      "model": "deepseek-33b",
      "api_base": "http://localhost:8080"
    }
  ],
  "model_roles": {
    "default": "DeepSeek",
    "chat": "DeepSeek",
    "edit": "DeepSeek",
    "summarize": "DeepSeek"
  },
  "system_message": "",
  "slash_commands": [
    {
      "name": "edit",
      "description": "Edit highlighted code",
      "step": "EditHighlightedCodeStep"
    },
    {
      "name": "config",
      "description": "Customize Continue",
      "step": "OpenConfigStep"
    },
    {
      "name": "comment",
      "description": "Write comments for the highlighted code",
      "step": "CommentCodeStep"
    },
    {
      "name": "clear",
      "description": "Clear step history",
      "step": "ClearHistoryStep"
    },
    {
      "name": "share",
      "description": "Download and share this session",
      "step": "ShareSessionStep"
    },
    {
      "name": "cmd",
      "description": "Generate a shell command",
      "step": "GenerateShellCommandStep"
    }
  ],
  "custom_commands": [
    {
      "name": "test",
      "prompt": "Write a comprehensive set of unit tests for the selected code. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete and sophisticated. Give the tests just as chat output, don't edit any file.",
      "description": "Write unit tests for highlighted code"
    }
  ],
  "context_providers": [
    {
      "name": "diff"
    },
    {
      "name": "url"
    },
    {
      "name": "terminal"
    }
  ]
}

ollama is working fine as well
Thank you

<!-- gh-comment-id:2566097751 --> @ngtanthanh-qc commented on GitHub (Dec 31, 2024): Ollama working fine > Have you tried Continue.dev, an extension for VSCode? You can load the model with llama.cpp and add Deepseek as the model to use. Here's my config (in the continue.dev text box, type /config to access) Got it from YearZero on TheBloke's discord. > > ```json > { > "models": [ > { > "title": "CodeLlama-34b-Instruct", > "provider": "llama.cpp", > "model": "codellama-34b", > "api_base": "http://localhost:8080" > }, > { > "title": "CodeLlama-7b-Instruct", > "provider": "llama.cpp", > "model": "codellama-7b", > "api_base": "http://localhost:8080", > "system_message": "" > }, > { > "title": "DeepSeek", > "provider": "llama.cpp", > "model": "deepseek-33b", > "api_base": "http://localhost:8080" > } > ], > "model_roles": { > "default": "DeepSeek", > "chat": "DeepSeek", > "edit": "DeepSeek", > "summarize": "DeepSeek" > }, > "system_message": "", > "slash_commands": [ > { > "name": "edit", > "description": "Edit highlighted code", > "step": "EditHighlightedCodeStep" > }, > { > "name": "config", > "description": "Customize Continue", > "step": "OpenConfigStep" > }, > { > "name": "comment", > "description": "Write comments for the highlighted code", > "step": "CommentCodeStep" > }, > { > "name": "clear", > "description": "Clear step history", > "step": "ClearHistoryStep" > }, > { > "name": "share", > "description": "Download and share this session", > "step": "ShareSessionStep" > }, > { > "name": "cmd", > "description": "Generate a shell command", > "step": "GenerateShellCommandStep" > } > ], > "custom_commands": [ > { > "name": "test", > "prompt": "Write a comprehensive set of unit tests for the selected code. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete and sophisticated. Give the tests just as chat output, don't edit any file.", > "description": "Write unit tests for highlighted code" > } > ], > "context_providers": [ > { > "name": "diff" > }, > { > "name": "url" > }, > { > "name": "terminal" > } > ] > } > ``` ollama is working fine as well Thank you
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/DeepSeek-Coder#48
No description provided.