commit | f5c239ad21708fa614d045c36b2a429a8538e0ea | [log] [tgz] |
---|---|---|
author | Eirik Bakke <ebakke@ultorg.com> | Thu Sep 22 22:55:13 2022 -0400 |
committer | Eirik Bakke <ebakke@alumni.princeton.edu> | Sat Apr 15 17:25:16 2023 -0400 |
tree | f7da663fd99f68b299e51f32f44c1f3d5e97e936 | |
parent | 71152a1e278ae1e34d7acff02010492b2d9a9fed [diff] |
Centralize presentation string generation for keyboard shortcuts in a new method Actions.keyStrokeToString, and make some improvements. Details: * Move the logic in o.n.editor.Utilities.keyStrokeToString to a new public method org.openide.awt.Actions.keyStrokeToString, and delegate to the latter. This avoids duplication of logic, and makes the logic available from modules that do not depend on the editor infrastructure. * Use InputEvent.getModifiersExText instead of the deprecated KeyEvent.getKeyModifiersText. * On MacOS, use proper modifier key symbols in the canonical order, without a plus sign between them. * Use NetBeans' preferred 'NumPad-' prefix instead of 'KP_' for e.g. 'KP_LEFT'.
Apache NetBeans is an open source development environment, tooling platform, and application framework.
Build the default release
config (See the cluster.config property.)
$ ant build
Build the basic project (mainly Java features):
$ ant -Dcluster.config=basic build
Build the full project (may include clusters which are not be in the release):
$ ant -Dcluster.config=full build
Build the NetBeans Platform:
$ ant -Dcluster.config=platform build
Cleanup:
$ ant -q clean
php
, enterprise
, etc. See the cluster.properties file.Build javadoc:
$ ant build javadoc
Note Run javadoc-nb
task in Netbeans to run the javadoc build and display it in a web browser.
Run the build:
$ ant tryme
Note: Look in nbbuild/netbeans for the NetBeans installation created by the build process.
Subscribe or mail the users@netbeans.apache.org list - Ask questions, find answers, and also help other users.
Subscribe or mail the dev@netbeans.apache.org list - Join development discussions, propose new ideas and connect with contributors.
Developer builds can be downloaded: Latest build (netbeans-xxx.zip).
Latest release (convenience binary of released source artifacts): https://netbeans.apache.org/download/index.html.
netbeans/etc/netbeans.conf
Help -> About
for concrete locationHelp -> About
for concrete locationView -> IDE Log
):$DEFAULT_USERDIR_ROOT/var/log/messages.log
Note: removing/changing the user settings directory will reset NetBeans to first launch defaults
The origins of the code in this repository are older than its Apache existence. As such significant part of the history (before the code was donated to Apache) is kept in an independent repository. To fully understand the code you may want to merge the modern and ancient versions together:
$ git clone https://github.com/apache/netbeans.git $ cd netbeans $ git log platform/uihandler/arch.xml
This gives you just few log entries including the initial checkin and change of the file headers to Apache. But then the magic comes:
$ git remote add emilian https://github.com/emilianbold/netbeans-releases.git $ git fetch emilian # this takes a while, the history is huge! $ git replace 6daa72c98 32042637 # the 1st donation $ git replace 6035076ee 32042637 # the 2nd donation
When you search the log, or use the blame tool, the full history is available:
$ git log platform/uihandler/arch.xml $ git blame platform/uihandler/arch.xml
Many thanks to Emilian Bold who converted the ancient history to his Git repository and made the magic possible!