Skip to content

Plugin crashes netbeans editor completely in newer versions auf netbeans #27

Open
@Ralf-Jonas

Description

@Ralf-Jonas

I have several gradle projects that I usually have open in parallel in one window (a big advantage over IDEA). But one of these Gradle projects is quite old and written in ISO-8859-1. Unfortunately, Netbeans can't handle character sets in Gradle projects (or read the character set from gradle.properties), so I have to decide whether I have set my editor to UTF-8 or ISO-8859-1 by changing nb.conf.
I know this plugin works in older netbeans versions, but since netbeans version 15 or so this plugin doesn't work anymore. Normally I have my Netbeans configured to work with UTF-8. So when I load a source file from an older project (written in ISO-8859-1) and use your plugin to select exactly that character set, the cursor disappears and the editor seems to be read-only. I have to restart Netbeans completely to make it work again.
The plugin seems to work instead if I use ‘File -> Open in encoding’, but then I have to navigate through my directory instead of being able to open the file from the project browser. So this means that opening a file in a specific encoding works, but switching between encodings in an already open file crashes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions