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

Clicking into a method that is used in a link opens link instead of going to method #229041

Open
bpasero opened this issue Sep 19, 2024 · 0 comments
Assignees

Comments

@bpasero
Copy link
Member

bpasero commented Sep 19, 2024

The method is:

private async fetchAllBuilds(runtime: Runtime, releasedOnly = false): Promise<IBuild[]> {
        const url = `https://update.code.visualstudio.com/api/commits/insider/${this.getBuildApiName(runtime)}?released=${releasedOnly}`;
        console.log(`${chalk.gray('[build]')} fetching all builds from ${chalk.green(url)}...`);
        const commits = await jsonGet<Array<string>>(url);

        return commits.map(commit => ({ commit, runtime }));
    }

I Cmd-click into the method to "Go to definition" but it opens a browser of the URL instead:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants