Skip to content

When using classes from external jar packages, automatic completion will report no file system provider found error. #3795

Open
@CloudSen

Description

@CloudSen

Before submitting your bug report

Relevant environment info

- OS: MacOS 15.2 (24C101)
- Continue version: 0.9.253
- IDE version: VSCODE 1.96.4
- Model: deepseek-coder-V2 and deepseek-chat-V3
- config.json:
  
{
  "completionOptions": {
    "BaseCompletionOptions": {
      "temperature": 0.0,
      "maxTokens": 4096
    }
  },
  "models": [
    {
      "title": "DeepSeek",
      "model": "deepseek-chat",
      "contextLength": 128000,
      "apiKey": "sk-xxx",
      "provider": "deepseek",
      "apiBase": "https://api.deepseek.com/beta"
    }
  ],
  "tabAutocompleteModel": {
    "title": "DeepSeek",
    "model": "deepseek-coder",
    "apiKey": "sk-xxx",
    "provider": "deepseek",
    "apiBase": "https://api.deepseek.com/beta"
  },
  "tabAutocompleteOptions": {
    "debounceDelay": 200,
    "multilineCompletions": "always"
  },
  "contextProviders": [
    {
      "name": "code",
      "params": {}
    },
    {
      "name": "docs",
      "params": {}
    },
    {
      "name": "diff",
      "params": {}
    },
    {
      "name": "terminal",
      "params": {}
    },
    {
      "name": "problems",
      "params": {}
    },
    {
      "name": "folder",
      "params": {}
    },
    {
      "name": "codebase",
      "params": {}
    }
  ],
  "slashCommands": [
    {
      "name": "share",
      "description": "Export the current chat session to markdown"
    },
    {
      "name": "cmd",
      "description": "Generate a shell command"
    },
    {
      "name": "commit",
      "description": "Generate a git commit message"
    }
  ]
}

Description

When I write a java program, this warning often pops up:

ENOPRO: No file system provider found for resource 'jdt://contents/rt.jar/java.lang/Long.class?%3Dapp-datakits-open-gateway-spi-abs%2F%5C%2FUsers%5C%2Fclouds3n%5C%2F.sdkman%5C%2Fcandidates%5C%2Fjava%5C%2F8.0.402-zulu%5C%2Fzulu-8.jdk%5C%2FContents%5C%2FHome%5C%2Fjre%5C%2Flib%5C%2Frt.jar%3D%2Fjavadoc_location%3D%2Fhttps%3A%5C%2F%5C%2Fdocs.oracle.com%5C%2Fjavase%5C%2F8%5C%2Fdocs%5C%2Fapi%5C%2F%3D%2F%3D%2Fmaven.pomderived%3D%2Ftrue%3D%2F%3Cjava.lang%28Long.class'

Now I have no idea why this is happening or how to troubleshoot.
I guess that the class I use may come from the external jar package introduced by mavn, and then there is a problem with the automatic completion.

To reproduce

No response

Log output

console.ts:137 [Extension Host] stack trace: Error: ENOENT: no such file or directory, lstat '/Users/clouds3n/Coding/cisdi/java/datakits/app-datakits-open-gateway/app-datakits-open-gateway-spi/app-datakits-open-gateway-spi-abs/src/main/java/cn/cisdigital/datakits/gateway/open/spi/abs/common/authentication/strategy/CryptoAuthenticationStrategy.java.git'
EYi @ console.ts:137
log.ts:445   ERR ENOENT: no such file or directory, lstat '/Users/clouds3n/Coding/cisdi/java/datakits/app-datakits-open-gateway/app-datakits-open-gateway-spi/app-datakits-open-gateway-spi-abs/src/main/java/cn/cisdigital/datakits/gateway/open/spi/abs/common/authentication/strategy/CryptoAuthenticationStrategy.java.git': Error: ENOENT: no such file or directory, lstat '/Users/clouds3n/Coding/cisdi/java/datakits/app-datakits-open-gateway/app-datakits-open-gateway-spi/app-datakits-open-gateway-spi-abs/src/main/java/cn/cisdigital/datakits/gateway/open/spi/abs/common/authentication/strategy/CryptoAuthenticationStrategy.java.git'

Metadata

Metadata

Labels

area:autocompleteRelates to the auto complete featureide:vscodeRelates specifically to VS Code extensionkind:bugIndicates an unexpected problem or unintended behavioros:macHappening specifically on Macpriority:mediumIndicates medium priority

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions