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

Report missing brace in correct tab, suppress other errors until fixed #4777

Merged
merged 6 commits into from Dec 18, 2016

Conversation

Projects
None yet
2 participants
@JakubValtar
Contributor

JakubValtar commented Dec 17, 2016

Fixes #4702

We should consider automatically completing blocks when user types { and hits enter, otherwise "Missing right curly bracket }" is the only error shown until the block is closed.

Edit: I also appended fix for #4748 Can't update libraries - JARs are locked because it would otherwise conflict with this PR.

Libraries imported in opened sketches will be still locked by latest
preprocessed CompilationUnit. Otherwise we would have to copy library
jars somewhere else so they can be available to CompilationUnit while
Contribution Manager updates original unlocked jars.

JakubValtar added some commits Dec 15, 2016

Clean up ErrorMessageSimplifier
Remove weird unused thread-spawning constructor
Accept IProblem instead of whole JavaProblem
Move fallback process() from JavaProblem to EMSimplifier as a default
case
Add debug switch and move debug logging into if blocks
Don't cache search classpath, only build it when looking for a class
Fixes #4748

Libraries imported in opened sketches will be still locked by latest
preprocessed CompilationUnit. Otherwise we would have to copy library
jars somewhere else so they can be available to CompilationUnit while
Contribution Manager updates original unlocked jars.

@benfry benfry merged commit 6be3938 into processing:master Dec 18, 2016

@JakubValtar JakubValtar deleted the JakubValtar:error-check-update branch May 2, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment