Annotates your Java code with code highlighting for your hottest methods in your Eclipse Codewind projects.
This extension provides code highlighting showing relative time spent in Java methods based on profiling data gathered through Codewind's load testing feature.
With Visual Studio Code:
Open Performance Dashboard
.Run Load Test
.load-test/[timestamp]/xxxx.hcd
file in your Codewind project.With Visual Studio Code:
npm install
in the cloned codewind-java-profiler
folder. This installs all necessary npm modules in the client directory.Launch Client
from the drop down and press the Run icon.To be added
Unit tests for the Java Server are in the server/src/test
directory. These are JUnit unit tests, but can only be run inside the server Docker container.
To run the container complete the following steps:
docker build -t java-ls .
in the server
directory.docker run -it java-ls bash
./profiling
directory, run mvn test
.To build a .vsix
extension package that can then be installed/published:
npm install
in the codewind-java-profiler
folder.vsce
package globally with npm install -g vsce
.vsce package
in the codewind-java-profiler
folder..vsix
file will then be generated.To install the extension:
code --install-extension <name of generated vsix file>
in the codewind-java-profiler
folder.For more information refer to: https://code.visualstudio.com/api/working-with-extensions/publishing-extension