Disable formatting in parts of source files with IntelliJ

Since I’m writing a lot of Spring code or using libraries like Rest Assured that allow to write somehow “human readable” code it’s nice to be able to turn off code formatting int IntelliJ so that the structure is not destroyed when the source file gets reformatted. given() .contentType("application/x-www-form-urlencoded; charset=utf-8") .when() .queryParam("foo", "bar") .get("http://localhost:8080/bar") .then() .statusCode(302) To prevent this from happening IntelliJ offers a function to turn off formatting by a marker comment.
Read more

[100 Days of Code] Day 041: May 21, 2017

Today’s Progress: Unsuccessfully tried to configure IntelliJ via Gradle to include the Angular webinar generated by one subproject as a runtime artifact to the backend project. Eventually gave up. Will continue tomorrow. Things I’ve learned: — Things I’ve planned for tomorrow: Continue to setup the IntelliJ project by gradle. Link(s) to work: Unfortunately no visible progress today.

Running/Debugging Arquillian Integration-Tests with WildFly inside IntelliJ 15

Unfortunately integration testing needs a great effort to be set up. But once you have it up and running you benefit from being able to examine how multiple parts are working together. Configure the embedded container using maven Add an Arquillian profile to your pom.xml. This will allow you to run the integration-tests using maven and allows you to deploy and configure the WildFly container itself. <profiles> <profile> <id>arquillian-wildfly-embedded</id> <dependencies> <dependency> <groupId>org.
Read more