npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@phoenix-plugin-registry/adelwehbi.bracketsjdk

v1.0.1

Published

Integration for Java Development Kit. Compiles and Runs. Includes its own Java Console.

Downloads

29

Readme

brackets-jdk

Integration for Java Development Kit. Compiles and Runs. Includes its own Java Console.

Dependencies

Usage

The Extension adds 4 commands to the Edit Menu in the Menu Bar:

Java Project are considered to be the folders present on Bracket's Project Root. So for example, say you want to create two Java projects, you create two new folders on the Bracket's Project Root called "JavaProject1" and "JavaProject2". In the future, this will be a preference option.

Which java project to compile is determined by the currently viewed file. In our example, if you're currently viewing a file main.java" located immediately in the "JavaProject1" directory and you use the Compile command, then "JavaProject1" will be compiled.

Compiled files are placed in the directory bin/ inside the project. If that directory does not exist, it will be created. This directory is emptied before each compilation. In the future, the location of this directory will be a preference choice.

When using th Run command, the extension itself finds the class that contains the main method using the Regex public\s+static\s+void\s+main and runs that class.

Currently, this extension only supports one point of entry to any Java project. If you have several main methods in your project, the first class found to have that method will be run.

TODO

I intend to work on these features later on. However, if you would like to contribute, go ahead! Do make me aware that you've adopted a feature from the TODO list so I don't start from scratch on it. If you'd like a specific feature added to this list, file an issue! Here's the TODO list (There's no order of priority):

Contribute

Contributing to this project should be fairly easy. There are a few things to keep in mind though. If you want to modify anything that normally occurs on the command line (compiling, or running, etc...), you need to effect your modifications on the Nodejs end of Brackets. An example of that is the file bracketsjdk.js. You can modify that file or imitate it. If you want to call any function on the Nodejs side from the node-webkit side, you'll have to use the Node Domain variable (that would be the variable bracketsjdk in the main.js file). If you want to send something from the Nodejs side to the node-webkit side, however, you'll have to use the DomainManager.emitEvent function (see bracketsjdk.js for an example).

For a clearer explanation on how that works, consult the Brackets Node Process: Overview for Developers.