Comments (8)
Don't forget to add file with code style settings into repo!
from kotlinasfirst.
Now IDEA 2019.1 complaints about wrong style somewhere in our code when importing the project from scratch.
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.
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.
Yes, probably we should set pom.xml
and build.gradle
flags.
from kotlinasfirst.
Hope it's fixed now.
from kotlinasfirst.
@gagarski Could you please re-check that everything works as it should?
from kotlinasfirst.
Yes, now freshly-cloned project works fine.
from kotlinasfirst.
Flaky behavior of codeStyles/**.xml
in some cases, needs additional investigation
from kotlinasfirst.
Related Issues (20)
- Drop task squareBetweenExists from lesson 3
- Do not generate replacements for `\r` or `\n` in lesson7.task1.transliterate
- Lesson 8.1: rename test fun lineByPoints() to lineByPoint() HOT 1
- Lesson 8: local tests for `pathBetweenHexes` are incorrect
- Tutorial chapter 7: consider adding some text about finally clause
- Add test for minContainingCircle
- Rename tests with same names in lesson11 HOT 2
- Specify input formats for each task in lesson 6
- Model solution for hexagonByThreePoints is incorrect HOT 1
- Specify task description for top20Words in 7 lesson HOT 1
- Model solution for minContainingHexagon in lesson8.task1 is incorrect HOT 3
- Wrong model behavior in markdownToHtmlSimple HOT 1
- markdownToHtmlLists should wrap everything in a paragraph
- Add tutorial chapter about kotlinx.html
- Lesson 3 (isPalindrome): add tests for large numbers
- findNearestCirclePair clarification
- Check alignFileByWidth tests HOT 1
- lesson5: expected and actual values are mixed up in some tests
- Fix complex tests (lesson 11) HOT 1
- 111
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kotlinasfirst.