How to use the atom-languageclient.Convert.uriToPath function in atom-languageclient

To help you get started, we’ve selected a few atom-languageclient examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github rianneogi / ide-cquery / lib / main.js View on Github external
let options = {
          type: "text",
          class: "cquery--disabled"
        }
        
        // Delete all existing markers
        for(let i = 0;i
github Gert-dev / php-ide-serenata / lib / SerenataClient.js View on Github external
onOpenTextDocument(parameters) {
        const {Convert} = require('atom-languageclient');

        atom.workspace.open(Convert.uriToPath(parameters.uri), {
            initialLine: parameters.position.line,
            searchAllPanes: true,
        });
    }
github Gert-dev / php-ide-serenata / lib / Annotations / MethodAnnotationProvider.js View on Github external
handleMouseClick(event, editor, annotationInfo) {
        const {Convert} = require('atom-languageclient');

        return atom.workspace.open(Convert.uriToPath(annotationInfo.extraData.declaringStructure.uri), {
            initialLine    : annotationInfo.extraData.declaringStructure.memberRange.start.line,
            searchAllPanes : true
        });
    }
github isundaylee / atom-ide-ccls / lib / main.js View on Github external
const editor = atom.workspace.getTextEditors().filter((editor) => {
      return (editor.getPath() == Convert.uriToPath(uri));
    })[0];
github Gert-dev / php-ide-serenata / lib / Annotations / PropertyAnnotationProvider.js View on Github external
handleMouseClick(event, editor, annotationInfo) {
        const {Convert} = require('atom-languageclient');

        return atom.workspace.open(Convert.uriToPath(annotationInfo.extraData.declaringStructure.uri), {
            initialLine    : annotationInfo.extraData.declaringStructure.memberRange.start.line,
            searchAllPanes : true
        });
    }