blog@​arhan.sh:~$

Implanting a VSCode Rickroll

!! UNPUBLISHED !! • more posts


https://github.com/microsoft/vscode-pull-request-github/pull/3122

src/issues/userHoverProvider.ts

const username = match[1];
// JS and TS doc checks
if (((document.languageId === 'javascript') || (document.languageId === 'typescript'))
    && JSDOC_NON_USERS.indexOf(username) >= 0) {
  return;
}
// PHP doc checks
if ((document.languageId === 'php') && PHPDOC_NON_USERS.indexOf(username) >= 0) {
  return;
}
const isDoxygenLanguage = document.languageId === 'cpp' || document.languageId === 'c' || document.languageId === 'csharp' || document.languageId === 'java' || document.languageId === 'objective-c' || document.languageId === 'php';
if (isDoxygenLanguage && DOXYGEN_NON_USERS.indexOf(username) >= 0) {
  return;
}
return this.createHover(document.uri, username, wordPosition);
for (let name of names) {
  octokit
    .request("GET /users/{username}", {
      username: name,
    })
    .catch(() => {
      console.log(`User ${name} does not exist`);
    });
}

@returns - 2.6M @property - 360k @fileoverview - 309k TRIED @memberof - 234k

@summary - 230k TRIED @static - 176k @classdesc - 65.8k @hideconstructor - 8.7k @linkplain - 1.6k