IntelliJ IDEA: Enable Annotation processors by default

Current IDE version: File | New Projects Setup | Settings for New Projects…, navigate to the compiler settings, annotation processing and enable this option before importing the project. Previous versions: File | Other Settings | Default Settings, navigate to the compiler settings, annotation processing and enable this option before importing the project.

Debugging Tomcat in Docker container

This is the command I use for this: docker run -it –rm \ -e JPDA_ADDRESS=8000 \ -e JPDA_TRANSPORT=dt_socket \ -p 8888:8080 \ -p 9000:8000 \ -v D:/tc/conf/tomcat-users.xml:/usr/local/tomcat/conf/tomcat-users.xml \ tomcat:8.0 \ /usr/local/tomcat/bin/catalina.sh jpda run Explanation -e JPDA_ADDRESS=8000debugging port in container, passed as environment variable -e JPDA_TRANSPORT=dt_sockettransport type for debugging as socket, passed as environment variable -p … Read more

How can I enable Flutter/Dart language experiments?

You need to create an analysis_options.yaml file in the root of your flutter app and write something like analyzer: enable-experiment: – spread-collections Also make sure to switch to the correct channel where the new feature is included eg (dev, beta or master) flutter channel dev And also make sure you have a recent enough version … Read more

Is there an easy way to put my entire installation of Intellij on a USB stick?

Yes, it’s possible, just copy the installation directory to the flash drive, then edit IDEA_HOME\bin\idea.properties file, change the values of idea.config.path and idea.plugins.path to the relative location, like: ../config and ../user-plugins (locations are relative to IDEA bin directory). Now copy your original settings and third-party plug-ins (if any): ${user.home}/.IntelliJIdea10/config => usb:/IDEA_HOME/config ${user.home}/.IntelliJIdea10/config/plugins => usb:/IDEA_HOME/user-plugins Note … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)