microsoft / vscode-anycode

MIT License
326 stars 38 forks source link

some question about feature enable #46

Closed heartacker closed 2 years ago

heartacker commented 2 years ago

hi, I install the anycode in my desktop vscode and python and c# are both installed too.

and there is some case I can't understand: should I enable those feature explicitly? like:

    "[csharp][c][cpp][python]": {
        "anycode.language.features": {
            "completions": true,
            "definitions": true,
            "references": true,
            "workspaceSymbols": true,
            "highlights": false,
            "outline": false,
            "diagnostics": false
        }
    },
  1. by default. nothhing while press F12

image

  1. ENABLE THE SETTING explicitly press F12 and we could find something. image

I notice that the default setting of anycode are:

        "anycode.language.features": {
            "completions": true,
            "definitions": true,
            "references": true,
            "workspaceSymbols": true,
            "highlights": false,
            "outline": false,
            "diagnostics": false
        }

Is it means that we should enable then explicitly

jrieken commented 2 years ago

hi, I install the anycode in my desktop vscode and python and c# are both installed too.

anycode language extensions disable themselves when some "real" language extensions are around, e.g anycode-python is suppressed by "ms-python.python" and so on. This can be overruled when the user explicitly configures the language to be enabled.

We do that because the "real" language extensions are usually of higher quality and anycode shouldn't pollute good results with its lower quality results

heartacker commented 2 years ago

thanks for your reply, and I think we can close the issue now https://github.com/microsoft/vscode-anycode/issues/21

anycode language extensions disable themselves when some "real" language extensions are around

and also, could it be described to readme and/or wiki