Skip to content

Exclude certain projects from indexing/GOPATH library #2888

@ksrb

Description

@ksrb

This project is unmaintained work has moved to IDEA

I've duplicated this issue in https://youtrack.jetbrains.com/issue/GO-3983 please 👍 there if you want to see this feature in a future release.


This is more of a feature request but it would be helpful if there was a way to exclude certain projects from indexing on the $GOPATH library.

The use case for this that my $GOPATH has several projects that are unrelated to the project I'm currently working but indexing occurs across the entire$GOPATH, which is processor intensive/time consuming.

A feature like this was 'suggested' in another issue and one of the responses was that go build does not allow you to exclude certain projects from being build. This is true however, go build does not incur any penalty as it does not read dependencies that are not required unlike IntelliJ's indexing.

I understand that such a feature may result in unexpected behavior, but it would be a fairly advanced feature and I would expect users who are looking for such a optimization to know what they're doing.

  • Plugin version: 0.171.2
  • IDE name and version: IntelliJ IDEA 2017.1.2 Build #IU-171.4249.39, built on April 25, 2017
  • Java version: 1.8.0_112-release-736-b16 x86_64
  • OS name and version: Mac OS X 10.11.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions