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

Add support for java modules related keywords. #1655

Merged

Commits on Dec 5, 2018

  1. A module system was added to Java-9 with a number of a new keywords.

    However prism.js doesn't recognize this keywords and as result they are
    not highlighted. Please find below some of the possible combinations:
    
    module com.js.prism {
        exports java.net.http;
        exports jdk.internal.editor.spi to jdk.jshell;
    
        requires java.base;
        requires transitive java.xml;
    
        uses java.net.ContentHandlerFactory;
    
        opens java.time.DateTime;
        opens java.time.LocalDateTime to java.logging;
    
        provides com.modules.hello.HelloInterface with com.modules.hello.HelloModules;
    
    }
    anton-balaniuc committed Dec 5, 2018
    Configuration menu
    Copy the full SHA
    a680e32 View commit details
    Browse the repository at this point in the history