Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have a way to enable calls to hover providers when debugging #48733

Closed
alexandrudima opened this issue Apr 26, 2018 · 1 comment

Comments

@alexandrudima
Copy link
Member

commented Apr 26, 2018

No description provided.

@alexandrudima

This comment has been minimized.

Copy link
Member Author

commented Apr 26, 2018

To be verified with:

  • package.json:
{
    "publisher": "alex",
    "name": "47466",
    "version": "0.0.0",
    "engines": {
        "vscode": "^1.0.0"
    },
    "activationEvents": [
        "*"
    ],
    "main": "index.js"
}
  • index.js:
const vscode = require('vscode');

exports.activate = function () {

	vscode.languages.registerHoverProvider('*', {
		provideHover: (doc, pos) => {
            console.log(`provideHover invoked!`);
		}
	});
};
  • set the new config options
  • start debugging
    The hover provider should be invoked.

@chrmarti chrmarti added the verified label Apr 27, 2018

@vscodebot vscodebot bot locked and limited conversation to collaborators Jun 10, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants
You can’t perform that action at this time.