org.netbeans.modules.ruby |
|
Java Source File Name | Type | Comment |
Arity.java | Class | The arity of a method is the number of arguments it takes. |
ArityTest.java | Class | |
AstNodeAdapter.java | Class | |
AstPath.java | Class | This represents a path in a JRuby AST. |
AstUtilities.java | Class | Various utilities for operating on the JRuby ASTs that are used
elsewhere. |
AstUtilitiesTest.java | Class | |
BracketCompleter.java | Class | Provide bracket completion for Ruby.
This class provides three broad services:
- Identifying matching pairs (parentheses, begin/end pairs etc.), which
is used both for highlighting in the IDE (when the caret is on for example
an if statement, the corresponding end token is highlighted), and navigation
where you can jump between matching pairs.
- Automatically inserting corresponding pairs when you insert a character.
For example, if you insert a single quote, a corresponding ending quote
is inserted - unless you're typing "over" the existing quote (you should
be able to type foo = "hello" without having to arrow over the second
quote that was inserted after you typed the first one).
- Automatically adjusting indentation in some scenarios, for example
when you type the final "d" in "end" - and readjusting it back to the
original indentation if you continue typing something other than "end",
e.g. |
BracketCompleterTest.java | Class | |
CodeCompleter.java | Class | Code completion handler for Ruby.
Bug: I add lists of fields etc. |
CodeCompleterTest.java | Class | |
DeclarationFinder.java | Class | Find a declaration from an element in the JRuby AST. |
DeclarationFinderTest.java | Class | |
Formatter.java | Class | Formatting and indentation for Ruby. |
FormatterTest.java | Class | |
IndentPrefs.java | Class | |
NbUtilities.java | Class | Utilities related to NetBeans - finding active editor, opening a file location, etc. |
OccurrencesFinder.java | Class | |
OccurrencesFinderTest.java | Class | |
ParseTreeVisitor.java | Interface | A visitor interface for visitors that want to iterate over a JRuby AST. |
ParseTreeWalker.java | Class | |
RDocFormatter.java | Class | Digest rdoc-formatter strings and format them as html,
A bit hacky at the moment, but it tries to understand most
of the conventions described here:
http://rdoc.sourceforge.net/doc/index.html
and produce reasonably similar HTML. |
RDocFormatterTest.java | Class | |
ReflowParagraphAction.java | Class | Reflow paragraphs (currently, rdoc comments and =begin/=end documentatio sections.)
Take RDoc conventions into consideration such that preformatted rdoc text is left alone,
bulleted lists get properly aligned, etc. |
ReflowParagraphActionTest.java | Class | |
RenameHandler.java | Class | |
RenameHandlerTest.java | Class | |
RubyCommentLexerTest.java | Class | |
RubyIndex.java | Class | Access to the index of known Ruby classes - core, libraries, gems, user projects, etc. |
RubyIndexer.java | Class | |
RubyIndexerHelper.java | Class | This class contains a lot of logic used to build the code indices
for Ruby.
This level of indexing is not performed on the user's sources, only
on preindexed libraries such as the Rails gems and Ruby's own library.
We need various extra information that relies on various heuristics
to determine:
- Does a method take a block? If so, how many arguments should
the block take and what names should the IDE suggest?
- Should a particular method be used with parentheses or not?
For example, when calling
File.exists?("foo")
we normally use parens around the arguments, but when calling
DSL-style methods like validates_presence_of it's common not to.
- Are one or more of the arguments expected to to be hashes?
If so, what are the available hash key names? What are their
"types"? (e.g.
|
RubyIndexerTest.java | Class | |
RubyLanguage.java | Class | |
RubyLexAllTest.java | Class | |
RubyLexerRandomTest.java | Class | Test Ruby lexer incremental operation. |
RubyLexerTest.java | Class | |
RubyLexerTest2.java | Class | |
RubyMimeResolver.java | Class | |
RubyMimeResolverTest.java | Class | |
RubyOptions.java | Class | |
RubyOptionsCategory.java | Class | Defines a new options category in the IDE's options dialog. |
RubyOptionsPanelController.java | Class | |
RubyParser.java | Class | Wrapper around JRuby to parse a buffer into an AST. |
RubyParseResult.java | Class | |
RubyParserTest.java | Class | |
RubyPositionManager.java | Class | |
RubyStringLexerTest.java | Class | |
RubyTestBase.java | Class | |
RubyTokenDumpTest.java | Class | Test tokens dump of Ruby code input. |
RubyTypeSearcher.java | Class | |
RubyUtils.java | Class | |
RubyUtilsTest.java | Class | |
SemanticAnalysis.java | Class | |
SemanticAnalyzerTest.java | Class | |
StructureAnalyzer.java | Class | |
StructureAnalyzerTest.java | Class | |
TestCompilationInfo.java | Class | |
TestSourceModelFactory.java | Class | |
TypeAnalyzer.java | Class | Perform type analysis on a given AST tree, attempting to provide a type
associated with each variable, field etc. |
TypeAnalyzerTest.java | Class | |