Giter VIP home page Giter VIP logo

kotlin-netbeans's Introduction

JetBrains team project TeamCity (simple build status) GitHub license

Kotlin plugin for NetBeans IDE

NOTE: This plugin is no longer actively developed. See #122 for more information.

Installing Kotlin plugin

NetBeans Update Center

The plugin could be installed via NetBeans Update Center.

Manual installation

  1. Download the latest release: 0.2.0.1
  2. Launch NetBeans IDE
  3. Choose Tools and then Plugins from the main menu
  4. Switch to Downloaded tab
  5. On the Downloaded tab click Add Plugins... button
  6. In the file chooser, navigate to the folder with downloaded plugin. Select the NBM file and click OK. The plugin will show up in the list of plugins to be installed.
  7. Click Install button in the Plugins dialog
  8. Complete the installation wizard by clicking Next, agreeing to the license terms and clicking Install button.

Plugin feature set

  1. Syntax highlighting
  2. Semantics highlighting
  3. Diagnostics
  4. Code completion
  5. Navigation in Source Code
  6. Quick fixes
  7. Intentions and Inspections
  8. Occurrences finder
  9. Code folding
  10. Unit testing support
  11. Ant, Maven and Gradle support
  12. Navigation by Kotlin class name
  13. Debugging support

kotlin-netbeans's People

Contributors

baratynskiy avatar mglukhikh avatar polinagal avatar servb avatar yole avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kotlin-netbeans's Issues

Tabulation behaves strange in constructions

For example

fun foo() {
    if (true) {
    <caret>
    }
}

Here I press TAB and go 8 symbols right. But normally, e.g. here

fun foo() {
<caret>
}

after pressing TAB I go 4 symbols right as I should. I would expect 4 spaces tabulation in both examples.

Navigation to destructured declaration does not work

Example

val romanDigits = mapOf(10 to "X")
fun convert(n: Int): String {
    for ((digit, roman) in romanDigits) {
        if (n >= digit<caret>) { ... }
    }
}

When I press Ctrl+Click on `digit` in `if`, I go to the end of the function. Expected position is the definition inside `for` header.

Kotlin project configuration

It should be possible to configure Kotlin project, e.g. setup JVM version to use, java compiler options, external libraries and many-many other things.

Increase test coverage

It's really a group of tasks. After #27 is completed, I'll review our functionality and create a separate task for each feature we have. For example: highlighting; completion; navigation; formatting; ...

Hang while opening a project

For a tiny project like "Kotlin Life", IDE hangs for ~ 20 seconds. What for small / medium / large-sized project? As minimum, progress bar is required.

Braces formatting

Let us have

fun foo() {<caret>

Here we press Enter and get

fun foo() {

}<caret>

However, I'd expect to get

fun foo() {
    <caret>
}

instead

Completion gives "no suggestions" sometimes

Sometimes, when I press Ctrl+Enter I'm getting "No suggestions". Entering additional symbols does not help. After moving cursor several lines down and then back, usually completion starts to work again.

Incorrect navigation list.sum()

Example: fun sum(list: List<Double>): Double = list.sum(). After Ctrl+Click on sum(), we go to the beginning of Collections.kt from kotlin.collections from kotlin-runtime.jar. However, really it's in kotlin-stdlib.jar, file generated\_Collections.kt.

Possible reason: this file has an annotation @file:kotlin.jvm.JvmName("CollectionsKt"), so its content is located in Collections.class. May be we go from Collections.class to Collections.kt, but this is not always true.

Multi-line expressions formatting

Let us have

fun foo() {
    "longstring".substring(
        1,<caret>)
}

here we press Enter and get

fun foo() {
    "longstring".substring(
        1,
    <caret>)
}

but I'd expect to get

fun foo() {
    "longstring".substring(
        1,
        <caret>)
}

instead

Support renaming

For local variables, parameters, type parameters, functions, properties and classes.

Update README

It should begin with a description of project status and current feature set (please take here into account only features included into the last "release"). It can also have a chapter "for contributors" about how to import and edit this project itself.

Maven support

NetBeans should be able to open and edit Maven-based Kotlin projects .

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.