Vscode使用

在ssh中没法使用函数的定义实现快速跳转

  • 参考csdn博客
  • 主要问题是pylance这个扩展程序没有正确地开启。需要去Language Server更改Python插件的配置。

Vscode突然需要多次输入密码

登录的时候output包含 Server installation process already in progress - waiting and retrying 问题在于vscode在服务器的配置文件/home/.vscode-server/bin/id出现了lock文件vscode-remote-lock.username.id,有两个解决方法,参考issue,参考csdn博客

  • 一是删除这个lock文件,但对于我不适用
  • 而是使用指令Kill VS Code Server on Host重新登录。这会删除你之前在服务器的登录状态,而重新wget配置文件。
  • 我的vscode版本是1.85.2

    使用cline连接qwen3-coder-plus

    参考阿里云模型网站

  1. 打开vscode,搜索插件cline image.png
  2. 打不开,在网上查找原因,发现是自己的vscode版本1.85.2太老了(之前为了处理remote-ssh的问题必须降级)。参考这个issue换了cline的版本2.2.2。
  3. 填写api-key 和模型名称
  4. 填写cutom instructinons,比如speak in chinese 可用模型:
    • qwen3-coder-30b-a3b-instruct:额度100w
  • qwen3-coder-plus:100w
  • qwen3-coder-plus-2025-07-22:100w

  • qwen3-coder-480b-a35b-instruct:100w prompt测试:
  • 你能帮我创建一个html游戏吗:飞机击落前面飞来的障碍物,有对应的加分,要有基本的页面。

还可以使用通义灵码

This line appears after every note.

Notes mentioning this note


Here are all the notes in this garden, along with their links, visualized as a graph.