Giter VIP home page Giter VIP logo

Comments (3)

SerCeMan avatar SerCeMan commented on May 29, 2024 2

Hi, @onetom!

I agree, there is a line in the source code, https://github.com/intellij-solidity/intellij-solidity/blob/master/src/main/kotlin/me/serce/solidity/ide/formatting/SolidityFormattingModelBuilder.kt#L18. And there is an issue #5.

I won't have enough time to help with formatting soon, but I'm happy to guide through the source code and the current formatting model if you or anyone else would like to help :)

from intellij-solidity.

fredfortier avatar fredfortier commented on May 29, 2024

@SerCeMan are you guys planning to take a look at this? For me, the biggest issue is that the styling guide has this indentation scheme for multi-line functions. If you give me some pointers, I can try to make the change and submit a PR.

from intellij-solidity.

SerCeMan avatar SerCeMan commented on May 29, 2024

Hey, @fredfortier!

No work on this is planned at the moment. Unfortunatelly, the only hint I can give you is that you are likely to need to modify the code in this package: https://github.com/intellij-solidity/intellij-solidity/blob/master/src/main/kotlin/me/serce/solidity/ide/formatting, and the relevant tests. There is also some documentation in https://www.jetbrains.org/intellij/sdk/docs/tutorials/custom_language_support/formatter.html

from intellij-solidity.

Related Issues (20)

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.