Giter Site home page Giter Site logo

Comments (8)

mglukhikh avatar mglukhikh commented on July 30, 2024

Don't forget to add file with code style settings into repo!

from kotlinasfirst.

gagarski avatar gagarski commented on July 30, 2024

Now IDEA 2019.1 complaints about wrong style somewhere in our code when importing the project from scratch.

code style.

This code seems to be properly formatted according to official code style but there are still warnings.

When I am trying to adjust it in Idea settings it creates .idea/codeStyles/Project.xml file which should probably be commited.

Alternatively we can set flags in pom.xml and build.gradle as described here. Also it is probably required to make inspections plugin work properly (yet I am not sure).

from kotlinasfirst.

gagarski avatar gagarski commented on July 30, 2024

Follow up:

It seems like Idea use IDE-wise code style settings for this project (obsolete code style probably somehow migrated from my older Idea settings).

It probably won't be a problem for new Idea installations, yet the problem is here: code style config from this project is ignored by Idea.

from kotlinasfirst.

mglukhikh avatar mglukhikh commented on July 30, 2024

Yes, probably we should set pom.xml and build.gradle flags.

from kotlinasfirst.

mglukhikh avatar mglukhikh commented on July 30, 2024

Hope it's fixed now.

from kotlinasfirst.

mglukhikh avatar mglukhikh commented on July 30, 2024

@gagarski Could you please re-check that everything works as it should?

from kotlinasfirst.

gagarski avatar gagarski commented on July 30, 2024

Yes, now freshly-cloned project works fine.

from kotlinasfirst.

ice-phoenix avatar ice-phoenix commented on July 30, 2024

Flaky behavior of codeStyles/**.xml in some cases, needs additional investigation

from kotlinasfirst.

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.