Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jun 9, 2012
  1. @leojay
  2. @leojay
  3. @leojay

    Make "GoElementVisitor" could visit "GoVarDeclaration" and "GoShortVa…

    leojay authored
    …rDeclartion" and all 3 "for" statements.
  4. @leojay

    Put "missing return statement" error at the right curly of function b…

    leojay authored
    …lock, and provide a quick fix.
Commits on Jun 8, 2012
  1. @mtoader

    Don't mark certain identifiers as variables.

    mtoader authored
    Signed-off-by: Mihai Claudiu Toader <mtoader@gmail.com>
  2. @leojay
  3. @mtoader

    Fix variable resolution as a method return parameter.

    mtoader authored
    Signed-off-by: Mihai Claudiu Toader <mtoader@gmail.com>
  4. @mtoader

    Fix another var resolution case with for and blocks.

    mtoader authored
    Signed-off-by: Mihai Claudiu Toader <mtoader@gmail.com>
  5. @mtoader

    Fix NPE caused by returning a null array.

    mtoader authored
    Signed-off-by: Mihai Claudiu Toader <mtoader@gmail.com>
  6. @mtoader

    Fix variable resolution as a val into a ranged for

    mtoader authored
    Signed-off-by: Mihai Claudiu Toader <mtoader@gmail.com>
  7. @mtoader

    Added PsiResolving test cases.

    mtoader authored
    Test resolving of variables in for clauses/ranges.
    Test resolving of variables in simple method parameters.
    Test basic type name resolution.
    
    Signed-off-by: Mihai Claudiu Toader <mtoader@gmail.com>
  8. @mtoader

    Added PSI nodes mapping the for statement declarations.

    mtoader authored
     Signed-off-by: Mihai Claudiu Toader <mtoader@gmail.com>
  9. @mtoader

    Created basic implementation of a GoCallOrConversionExpression PSI node.

    mtoader authored
     New test cases and updated the old ones.
    
     Signed-off-by: Mihai Claudiu Toader <mtoader@gmail.com>
  10. @mtoader

    Created GoExpressionStatement and marked a ShortVarDeclaration as sta…

    mtoader authored
    …tement.
    
     New test cases and updated the old ones.
    
     Signed-off-by: Mihai Claudiu Toader <mtoader@gmail.com>
Commits on Jun 7, 2012
  1. @leojay
  2. @leojay
  3. @leojay

    Add coroutine support in unused variable inspection.

    leojay authored
    Implement variadic usage inspection.
    
    Don't add repeated expressions when introducing variables/constants.
  4. @leojay
Commits on Jun 6, 2012
  1. @mtoader

    Resolve/refactorings on functions/methods and function literals.

    mtoader authored
     Changed the Psi for the Function/MethodDeclaration to return GoFunctionParameters directly (for both params and returns).
     Added PsiNode implementation of FunctionLiteral
     Solved resolve of variables to a method / function and function literal parameters.
    
     Signed-off-by: Mihai Claudiu Toader <mtoader@gmail.com>
  2. @mtoader

    Added new test case for a new function literal type.

    mtoader authored
     Signed-off-by: Mihai Claudiu Toader <mtoader@gmail.com>
  3. @mtoader

    Make the GoReturnStatement return a list of expressions.

    mtoader authored
     Signed-off-by: Mihai Claudiu Toader <mtoader@gmail.com>
  4. @mtoader

    Added proper GoReturnStmt Implementation

    mtoader authored
     Fixed old/new test cases.
     It will return the expression if any (or null if none).
     It will not include final EOL if empty.
    
     Signed-off-by: Mihai Claudiu Toader <mtoader@gmail.com>
  5. @leojay
  6. @leojay

    Implement following function declaration inspection:

    leojay authored
    1. function has result but no return statement at the end
    2. result argument has the same name with function argument
    3. duplicate argument in function argument list.
Commits on Jun 5, 2012
  1. @mtoader

    Added new project file.

    mtoader authored
     Signed-off-by: Mihai Claudiu Toader <mtoader@gmail.com>
  2. @mtoader

    Added addition and multiplication expression PSI. Fixed for/range err…

    mtoader authored
    …or parsing.
    
     Fixed old test cases and added new ones.
     Enabled a simple unresolved variable (by checking that the element doesn't resolve).
    
     Signed-off-by: Mihai Claudiu Toader <mtoader@gmail.com>
  3. @mtoader

    Removed the ExpressionList construct from the parser.

    mtoader authored
     Changed the output of the AST elements to  display properly in the test cases which one are actual nodes and which one aren't.
     Removed getExpressionList() from GoConstDeclaration and GoVarDeclaration.
     Fixed test cases.
    
     Signed-off-by: Mihai Claudiu Toader <mtoader@gmail.com>
  4. @leojay
  5. @leojay
  6. @mtoader @leojay

    Add a debugging tool to see which elements are proper GoPsi elements.

    mtoader authored leojay committed
     Signed-off-by: Mihai Claudiu Toader <mtoader@gmail.com>
  7. @mtoader @leojay

    Added and Psi node for an expression List.

    mtoader authored leojay committed
     Updated TopLevel Const and Var declarations to use this to access the child expressions.
    
     Signed-off-by: Mihai Claudiu Toader <mtoader@gmail.com>
  8. @mtoader @leojay

    Added static instance to GoLanguage. Renamed GoFileType static instan…

    mtoader authored leojay committed
    …ce to INSTANCE.
    
     Signed-off-by: Mihai Claudiu Toader <mtoader@gmail.com>
  9. @mtoader

    Add a debugging tool to see which elements are proper GoPsi elements.

    mtoader authored
     Signed-off-by: Mihai Claudiu Toader <mtoader@gmail.com>
  10. @leojay

    Don't collect usage of other package variables and types.

    leojay authored
    Don't check type field in composite literals.
    Add "ForRangeClause" test case.
  11. @mtoader

    Added and Psi node for an expression List.

    mtoader authored
     Updated TopLevel Const and Var declarations to use this to access the child expressions.
    
     Signed-off-by: Mihai Claudiu Toader <mtoader@gmail.com>
Something went wrong with that request. Please try again.