summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-04-03Add vim-lsc command exampletopic/classpath_examplecos
2019-04-03Avoid creating empty file on curl failfix/handle_missing_curlcos
Have curl download the jar to a file rather than relying on shell redirection.
2019-04-02Dead codeHEADmasterGeorge Fraser
2019-04-02CleanupGeorge Fraser
2019-04-01Dead codeGeorge Fraser
2019-04-01Combine CompileFocus into CompileBatchGeorge Fraser
2019-04-01Put back constantsGeorge Fraser
2019-04-01Combine CompileFile and CompileBatchGeorge Fraser
2019-04-01Dead codeGeorge Fraser
2019-04-01Highlight constantsGeorge Fraser
2019-04-01Don't include outputs in classpathGeorge Fraser
2019-03-31TODOGeorge Fraser
2019-03-31Re-use compilation tasksGeorge Fraser
2019-03-31Use AutoCloseable instead of callbackGeorge Fraser
2019-03-31`synchronized` is a keywordGeorge Fraser
2019-03-31Demo how to re-use compilerGeorge Fraser
2019-03-31Leave out optional fieldsGeorge Fraser
2019-03-260.2.16George Fraser
2019-03-26v0.2.15George Fraser
2019-03-260.2.14George Fraser
2019-03-26Put back .hoverGeorge Fraser
2019-03-26Merge branch 'master' into pr/leighmcculloch/86George Fraser
2019-03-26Merge branch 'pr/leighmcculloch/87'George Fraser
2019-03-26Display unused tagGeorge Fraser
2019-03-06Only include docs if they are not blankLeigh McCulloch
Sometimes the docs are present but an empty string. Lets not add it unless there's actually text to add. This presents the data a little better to clients since clients don't get an empty MarkedString.
2019-03-06Support other locations for finding src.zipLeigh McCulloch
What === Support other locations for finding src.zip so that it is found it if lives at either: - JAVA_HOME/lib/src.zip - JAVA_HOME/src.zip Why === I've observed in testing that some installations of JVMs include src.zip in the root, others in a lib/src.zip.
2019-03-06Display docs correctly in hoverLeigh McCulloch
What === Display docs are plaintext in hover, instead of inside a GitHub markdown fenced markdown code block. Why === Hover text can be made up of multiple MarkedStrings where a MarkedString is either plaintext, or a codeblock for a code language. Docs are usually intended to be displayed as plaintext (in markdown), with the code blocks included alongside it. The docs shouldn't be returned as one of the code blocks. Reference === https://microsoft.github.io/language-server-protocol/specification#textDocument_hover
2019-03-06Remove '.hover' from the language on code hoverLeigh McCulloch
What === Remove '.hover' from the language name on code hover so language is set as `java` instead of `java.hover`. Why === The intention of the language is to display it in GitHub's markdown fenced code block format. The '.hover' is unnecessary noise as only the 'java' is required to correctly satisfy the syntax of the fenced code block.
2019-03-02Remove src.zip and get it from JAVA_HOMELeigh McCulloch
What === Remove src.zip and get it from the path pointed to by the JAVA_HOME environment variable. Why === When using this tool standalone the lib/src.zip file doesn't seem to be packaged inside what is jlinked which causes exceptions on startup. It also seems odd to package src.zip inside the tool when Java JDK installations come with src, and in the event they don't (e.g. OpenJDK on Debian) they can be easily installed using the distros built in package manager. As a side note the src.zip licensing is ambiguous to me and it's not clear from any other documentation in this repository how it is being licensed. I assume it is properly licensed to have been included, but regardless removing any licensing ambiguity from the tool seems ideal for those using it.
2019-02-23Respond to shutdown requestLeigh McCulloch
What === Respond to shutdown request with an empty result. Why === The server does not respond to the shutdown request. Clients expect a response to the shutdown request before they issue the exit request. This is to give the server time to shutdown properly before the client also shuts down. In clients that follow this pattern properly, e.g. vim-lsc, it can cause vim to block and wait for a response until a timeout occurs.
2019-02-18Revert changes to trailing whitespaceLeigh McCulloch
2019-02-18Error if java binary doesn't existLeigh McCulloch
2019-02-18Change to just check java versionLeigh McCulloch
2019-02-18Use the java home set earlier as the real java homeLeigh McCulloch
2019-02-18Make existing scripts work with linuxLeigh McCulloch
2019-02-18Add a script for linking for debianLeigh McCulloch
What === Add a script for linking for debian. Why === The location of java home is different on mac and debian, and on debian there is no java_home variable to select version 11 of java. The default jdk installation on debian is currently version 11 and the script uses that. In the event it is not installed mvn will error because the JAVA_HOME is pointing to an invalid path. In the event multiple version of java are installed version 11 will be used regardless of which is set as the default. The patch script has been updated to use the JAVA_HOME path explicitly for each command to ensure it uses the correct version of java when multiple versions are installed. This is consistent with the link scripts.
2019-02-17Add installation instructions for vimLeigh McCulloch
What === Add installation instructions for vim using the vim plugin vim-lsc. Why === This tool works great in vim but it isn't straight forward setting it up. These instructions will help others get off the ground using this tool with vim.
2019-02-17Add '--quiet' option for standalone usageLeigh McCulloch
What === Add '--quiet' option for standalone usage. When provided the logger will be turned off resulting in no information writing to stderr. Why === When using standalone with IDEs like vim and plugins like vim-lsc the stderr of the command will be outputted into the terminal. This tool is pretty noisy and writes a lot of information which is great for development of the tool but not when using it day-to-day.
2019-02-09Turning off the ANSI control sequences which causes dependency resolution ↵Michael Allen Hardeman
issues on some systems
2019-01-20Simple test for troubleshooting incremental compilerGeorge Fraser
2019-01-19v0.2.13George Fraser
2019-01-19Use test wrapper to set JAVA_HOMEGeorge Fraser
2019-01-18v0.2.12George Fraser
2019-01-18Cache list-classpathGeorge Fraser
2019-01-18Speed up listGeorge Fraser
2019-01-18Polish logsGeorge Fraser
2019-01-18Dead codeGeorge Fraser
2019-01-18Log startGeorge Fraser
2019-01-18Clean up benchmarkGeorge Fraser
2019-01-15Pruner reduces compile time by ~60%George Fraser