(click for PDF)
UPDATE: These cheat sheets have been revised and improved. I recommend checking out Version 2.
In this article we explore Java regular expressions, including how they're used, best practices, and shortcuts to help you use them. Then, at the end of the article, we provide a Java RegEx cheat sheet PDF that gives you all RegEx shortcuts on one page.
As I’ve mentioned in the past, I frequently prep system cheat sheets for the RPGs I run. These summarize all the rules for the game — from basic action resolution to advanced combat options. It’s a great way to get a grip on a new system and, of course, it also provides a valuable resource at the game table for both the GM and the players. (For more information on the methods I use for prepping these sheets, click here.)
- A printable cheat sheet for the Eclipse SDK. Contribute to pellaton/eclipse-cheatsheet development by creating an account on GitHub.
- To use your cheat sheet, you must export it as a JAR and copy the JAR to the Eclipse plug-ins directory where it will be found next time Eclipse is started. Before exporting, be sure all of your cheat sheet XML files are included in the build by clicking on the Build tab and making sure the Binary Build section has all your XML files checked.
- Hammer is a command-line tool provided with Red Hat Satellite 6. You can use Hammer to configure and manage a Red Hat Satellite Server through either CLI commands or automation in shell scripts. The following cheat sheet provides a condensed overview of essential Hammer commands. See the Hammer CLI Guide for more information on Hammer.
- Eclipse CDT 8.0 Cheat Sheet Window Shortcut Description Alt+- Show System Menu Alt+Shift+F3 Show Contributing Plug-in Ctrl+3 Quick Access Ctrl+E Quick Switch Editor Ctrl+F10 Show View Menu Ctrl+F6 Next Editor Ctrl+F7 Next View Ctrl+F8 Next Perspective Ctrl+M Maximize Active View Ctrl+Shift+E Switch to Editor Ctrl+Shift+F6 Previous Editor.
This particular set of cheat sheets was designed for Eclipse Phase. It should be noted that these cheat sheets aren’t designed to serve as a quick start packet: They’re designed to be a comprehensive reference for someone who has read the rulebook and will almost certainly prove wholly insufficient for teaching you the game. (Although they do serve as a valuable adjunct reference if you’re teaching someone the game.)
WHAT’S NOT INCLUDED
The most notable absence from these cheat sheets are what I refer to as “character option chunks” (for reasons discussed here). So you won’t find psi sleights or the effects of specific nanodrugs listed here.
HOW I USE THEM
I keep a copy of these cheat sheets behind my GM screen for quick reference and also place a half dozen copies in the center of the table for the players to grab as needed. The information included is meant to be as comprehensive as possible; although rulebooks are also available, my goal is to minimize the amount of time people spend referencing the rulebook: Finding something in the 14 pages of the cheat sheet is a much faster process than paging through a 400 page rulebook. And, once you’ve found it, processing the streamlined information on the cheat sheet will (hopefully) also be quicker.
The organization of information onto each page of the cheat sheet should, hopefully, be fairly intuitive. The actual sequencing of pages (combat before hacking, hacking before psi) is mostly arbitrary. The sheets as they currently exist have been tweaked several times based on actual play experience.
Page 1: Basic mechanics. The stuff on this page should become irrelevant fairly quickly because players are going to rapidly memorize it through play. The information in “Your Muse and You” is more verbose and advisory than the sort of material I would normally include in a system cheat sheet, but after a few sessions I found that new players were routinely under-utilizing their muses. Adding this chunk of material significantly improved this and the inclusion of the stat block for a standard muse was significantly useful.
Pages 2-4: The combat reference. If you’re looking for a more simplistic system introduction for new players, temporarily remove pages 3 and 4. The Eclipse Phase combat system really comes alive when both the GM and the players are actively trying to create situations that will create positive modifiers on their combat tests, so I recommend continually refocusing attention on the combat modifiers table through both word and deed.
Page 5: In a future version of the cheat sheets, I might try to find some way to incorporate more info on medichines, nano-bandages, and repair spray. (They’re fairly ubiquitous and commonly used.) But letting health and healing spill onto multiple pages made things significantly less useful and most of the key information is summarized on the Healing table in any case. So, for now, I’m merely including the page references.
Page 6: The streamlined rules for jamming shells and vehicles is one of the major improvements Eclipse Phase makes on the Shadowrun rules. I just recently added the default stat block for a bot/vehicle AI to this page. Including the muse AI on page 1 was so useful I decided I should try to include a few more of these stat blocks. I’ve never done this with a cheat sheet before, but these AIs are so ubiquitous in the Eclipse Phase setting that I think this will prove very valuable.
Page 7-10: The methodology here is a page of general information on the mesh and then two pages of material on hacking… and then another half page on hacking because I couldn’t figure out a way to squeeze it all onto two pages. Fortunately, the key information is all on the two main pages (although this took a few playtesting tweaks to really figure out what was essential and what wasn’t in typical play).
Page 11: Reputation. This page is oft-referenced by new players trying to figure out how the new economies of Eclipse Phase work.
Page 12: I initially didn’t include resleeving rules in the cheat sheets. Big mistake. First, there are many scenarios in which the PCs are going to seek frequent resleevings in the middle of the action. Second, for new players this sheet helps to acclimate them to some of the unusual features of the setting.
Page 13: This is a recent addition to the cheat sheet because I specifically avoided including psi in the first half dozen sessions of Eclipse Phase that I ran. That’ s not because I don’t like the psi system (or its inclusion in the setting). Rather, I decided there was already so much stuff to grapple with in the setting that simply avoiding psi would be a convenient way to simplify things.
Page 14: And, finally, a page of miscellanea. Which is exactly what it sounds like. Some people might consider leaving this sort out of stuff off the cheat sheet entirely, but over the years I’ve found that this is actually the stuff you’ll find most useful in the long-term. As the other core mechanics slowly ingrain themselves into your memory, it’s going to be the random miscellanea that you’ll need to keep referencing every time it comes up.
A SIMPLER SET
If you’re looking for a quick introduction to the system for new players, here’s what I recommend:
- Page 1: Basic Mechanics (tell them to report test results to as “# out of #”, for example “I rolled 32 out of 65”)
- Page 2: Basic Combat (emphasize how valuable combat modifiers are)
- Page 5: Health and Healing (make sure they understand wound/trauma thresholds; you can’t trust players with their own bookkeeping until they do)
- Page 7: Basic Mesh Use (emphasize how valuable Research tests are)
- Page 11: Reputation / Social Networks
For this approach to work, you’ll want to avoid PCs that are focused on jamming, hacking, or psi. That’ll be very limiting in a long-term campaign, unfortunately, so you might want to start with a couple of one-shots to build up system familiarity. Or, alternatively, set aside time with the specific players interested in those areas to review those rules.
There is also, of course, setting information that you’ll want to pass on. I recommend 10 Things You Should Know About Eclipse Phase as a good way for accomplishing that.
The Eclipse Phase: System Cheat Sheet is licensed under the Creative Commons Attribution-Noncommercial-ShareAlike 3.0 Unported License.
Here’s a cheat sheet of Eclipse shortcuts I’ve put together to help me work really fast with the IDE. The shortcuts have been categorized into two sections – one that most people know about, and another section that contains the lesser known ones. You should be able quickly scan through the first section, and learn any of the ones that you don’t currently know.
The second section might take longer, and you may want to bookmark this page for future reference.
Easy Shortcuts
Search in files
Conquistador cocktail. Use Ctrl–H to search in all files across the workspace or project.
Open Resource
Ctrl–Shift–R opens a resource quickly – without the time it spends for indexing. This makes it especially fast when you’ve just opened a workspace, in comparison to the Open Type shortcut below.
Open Type
Eclipse Cheat Sheet Examples
Use Ctrl–Shift–T to open a Java type.
![Phase Phase](https://zeroturnaround.com/wp-content/uploads/2014/02/IntelliJ-cheat-sheet-part-2.jpg)
While I prefer Ctrl–Shift–R to search for files, Ctrl–Shift–T works better if you want to search for Java classes or interfaces.
Open the Type Hierarchy
Use Ctrl–T to get a popup window with the type hierarchy for the type under your cursor.
![Eclipse Cheat Sheet Eclipse Cheat Sheet](/uploads/1/1/9/5/119550522/924439894.jpg)
This is tremendously useful to see inherited types, sub-types, and implemented interfaces.
Press Ctrl–T again to toggle between super-types and sub-types.
Display members and inherited members
Pressing Ctrl–O displays the class members, pressing it again displays the inherited members too!
Focusing on the tooltip
Press F2 to get the tooltip for the item currently under the cursor.
Eclipse Cheat Sheet Pdf
Correcting Indentation of Selected Text
Use Ctrl–I to correct indentation.
Debuggging
Use F5 to Step into, F6 to Step over, F7 to step out, and F8 to resume. See below for more shortcuts on debugging.
New File Wizard
Use Ctrl–N to start the new File Wizard.
Lesser Known Shortcuts
Ctrl–Tab to Switch Between Windows
Go to General->Keys to see all shortcuts.
Change the binding of Next Editor and Previous Editor to use Tab instead of F6 – this makes it incredibly easy to switch between open editors. I often dislike changing keyboard shortcuts so that it’s easy to work on someone else’s machine too, but I couldn’t resist this one.
Cycle through tabs in the current view
Cisco meraki vpn router. Similar to the above, but still slightly different: Use Ctrl–PgUp and Ctrl–PgDn to switch between tabs in your current view, without showing you the complete list of available tabs.
Scroll without using the mouse
Use Ctrl–Up and Ctrl–Down to scroll, while keeping your cursor in the same position!
Move a line or lines
Use Alt–Up and Alt–Down to move selected lines, or the current line.
Jump to matching bracket
Ctrl–Shift–P on a bracket, brace or parenthesis moves the cursor to its matching bracket, brace or parenthesis.
Progressively Select Blocks
Use Shift–Alt–Up / Shift–Alt–Down to progressive select blocks.
Find references
Ctrl–Shift–G will find references to the item under the cursor.
Find declarations (Only C++/Javascript)
Ctrl–G finds declarations of the item under the cursor.
Eclipse Cheat Sheet
Open Declaration
F3 opens the declaration for the item under the cursor.
Find previous and next, based on selection
Eclipse Cheat Sheets
Use Shift–Ctrl–K and Ctrl–K to find the previous and next occurrences of the item under the cursor.
I had to set Ctrl–K for “Find next” in Preferences->General->Keys, but the shortcut for “Find previous” was there by default.
CamelCase Code Completion
If you have a class that has a
VeryLongName
, simply type VLN and press Ctrl–Space to see VeryLongName
as one of the suggestions.Automatically Insert Braces and Semicolons at the correct position
This isn’t a shortcut – but a useful productivity boost. Setting semicolons and braces to be automatically inserted in the correct position allows you to type them in from anywhere but they actually appear at the end of the line. Escaping text in string literals is another useful option.
Quick Access Menu
Quickly access any menu, command, editor, etc by typing in Ctrl–3 and then the initial letters of the item you want.
History
Use Alt–Left and Alt–Right to navigate between your editor history items. This is equivalent to using the history icons on the toolbar.
Quick Fix
Use Ctrl–1 to get to the quick fix menu and quickly fix compile-time issues.
Debugging
Use Ctrl–R to run to the current line. Use Ctrl–Shift–B to toggle a breakpoint. F11 debugs the last run program, while Ctrl–F11 runs it.
Refactoring
Shift–Alt–R renames an item and updates all references. Use Shift–Alt–L to extract code to a local variable, and Shift–Alt–M to move code to a method.
The Best of them all!
And finally, which one’s the greatest shortcut of all? Use Ctrl–Shift–L to get a list of all available shortcuts!!