Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
web:eclipse [2024/10/31 14:32] – [Settings] Bernard Condrauweb:eclipse [2025/06/23 14:04] (current) – [Java] Bernard Condrau
Line 11: Line 11:
  
 <sup>1</sup>[[https://mariadb.com/kb/en/incompatibilities-and-feature-differences-between-mariadb-10-11-and-mysql-8/|MariaDB 10.11 versus MySQL 8.0]] <sup>1</sup>[[https://mariadb.com/kb/en/incompatibilities-and-feature-differences-between-mariadb-10-11-and-mysql-8/|MariaDB 10.11 versus MySQL 8.0]]
 +
 +===== WSL Settings =====
 +  - To change the default setting of WSL (WSL1/WSL2) to allow file permissions on mounted Windows drives add the file ''wsl.conf'' with the following content to ''/etc'' in your linux distro:<code>[automount]
 +options="metadata"</code>
 +  - Stop wsl from the Windows command line:<code>wsl --shutdown [OR] wsl -t NAME</code>
 +  - Start wsl from the Windows command line:<code>wsl [OR] wsl --distribution NAME</code>
 +  - Check wsl instances from the Windows command line:<code>wsl -l -v</code>
  
 ===== LAMP with Xdebug ===== ===== LAMP with Xdebug =====
Line 16: Line 23:
  
 ===== Eclipse IDE ===== ===== Eclipse IDE =====
 +
 +==== PHP ====
 +  * Make sure ''display_errors'' is set to ON in apache's php.ini file and not overridden in the apache VirtualHost file 
  
 ==== Java ==== ==== Java ====
Line 58: Line 68:
   - Add or Edit **Debug Configurations...**. If you pointed the DocumentRoot to your workspace, then you can leave the URL on "Auto Generate", otherwise you must modify the URL.{{ :web:debug.jpg?100 |Debug Configuration}}   - Add or Edit **Debug Configurations...**. If you pointed the DocumentRoot to your workspace, then you can leave the URL on "Auto Generate", otherwise you must modify the URL.{{ :web:debug.jpg?100 |Debug Configuration}}
   - **Window --> Preferences --> PHP --> Code Style --> Formatter**. Select "PHP Conventions" as active profile.{{ :web:phpconvention.jpg?100 |PHP Formatter}}   - **Window --> Preferences --> PHP --> Code Style --> Formatter**. Select "PHP Conventions" as active profile.{{ :web:phpconvention.jpg?100 |PHP Formatter}}
-  - **Window --> Preferences --> General --> Editors --> Text Editors**. Uncheck "Use find/replace overlay"\\ (see [[https://stackoverflow.com/questions/79012836/eclipse-2024-09-is-there-a-way-to-get-the-old-find-replace-window-back|Eclipse 2024-09 Is there a way to get the old Find/Replace window back?]])+  - **Window --> Preferences --> General --> Editors --> Text Editors**. Uncheck "Use find/replace overlay" (see [[https://stackoverflow.com/questions/79012836/eclipse-2024-09-is-there-a-way-to-get-the-old-find-replace-window-back|Eclipse 2024-09 Is there a way to get the old Find/Replace window back?]])
   - If you have existing projects   - If you have existing projects
     * either select the project directory as workspace when first starting up the new eclipse, or     * either select the project directory as workspace when first starting up the new eclipse, or