This is an automated email from the ASF dual-hosted git repository.

ddekany pushed a commit to branch 2.3-gae
in repository https://gitbox.apache.org/repos/asf/freemarker.git

commit d63b2766d1b5ca6f85ac3c2842a25a5595f60170
Author: ddekany <[email protected]>
AuthorDate: Thu Dec 14 12:41:01 2023 +0100

    README IntelliJ instructions adjusted
---
 README.md | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 9626e8c2..8cfa8c88 100644
--- a/README.md
+++ b/README.md
@@ -261,7 +261,12 @@ Originally done on IntelliJ IDEA Community 2018.2.4:
 
     - Test Resource Folders:  
       src/test/resources
-      
+
+  - Still inside the "Sources" tab, change the "Language level" to "8". (Yes, 
we use Java 16 SDK with
+    language level 8 in the IDE, due to the tricks FreeMarker uses to support 
different Java versions.)
+    Then, in "File" -> "Settings" -> "Editor" -> "Inspections", uncheck "Uses 
of API which isn't available at the 
+    configured language level".
+
   - Switch over to the "Dependencies" tab (still inside "Project Structure" / 
"Modules"), and add
     all the jar-s inside the `ide-dependencies` directory as dependency. (How: 
Click the "+" icon
     at the right edge, select "JARs or directory", navigate to 
`ide-dependencies` directory, expand

Reply via email to