apache / apache/netbeans

Possibility to ignore code errors in specific folders without ignoring them

Open
#4,610 0 comments 1 reaction 0 assignees View on GitHub
kind:feature PHP
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Description

The PHP code with composer contain third-party code in `/vendor` folder. The node.js code contain third-party code in `/node_modules` folder. Sometimes they contain errors and because of them, the Netbeans show an error mark on the project:

Snímek obrazovky 2022-09-10 v 14 28 48

It is possible to add this files/folders into „ignored folders“, but it unfortunately also remove them from code analysis for code suggestion.

### Use case/motivation

I want to be informed, that „my“ code contain some errors, but I'm not interested in errors in third-party codes.
But I want to work with this code and want the code suggestion at the same time.

I also hope, that code-analysis without looking for errors can be a little bit faster :)

### Related issues

[https://github.com/apache/netbeans/issues/5416](https://github.com/apache/netbeans/issues/5416)

### Are you willing to submit a pull request?

I want to, but I'm not a Java developer

### Code of Conduct

Yes

Contributor guide

Open the contributing guide

Research direction

Start by tracing how NetBeans handles ignored folders and how code analysis differs from code completion for PHP and Node.js projects. Review related issue #5416 for existing context. Done means third-party errors can be suppressed while the ignored code remains available for code suggestions.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, php
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.