Enabled new terminal but still old

Answered

i tried re toggle, restart idea, restart my pc. but it still is old terminal.

when it first appear, im using 2024.1.3 and regular coding, suddenly terminal to old from new, after i update ide to 2024.1.4 and tried i mentioned, all no work

0
5 comments

Hello, Kevin557557.

Could you please collect (Help | Collect Logs and Diagnostic Data) and share the IDE logs? You can do it via the JetBrains Uploads service and write the ID you receive here. I want to check if any related exceptions are reported there. 

0

Upload id: 2024_06_25_yKEvdZwSupmEP7oCoqZNJq (file: idea-logs-20240625-09282514954930104417078516.zip)

And I finally reinstalled idea today and now new term is work

0

Thank you for sharing the logs. 

In the logs, I found the only exception that look relevant to your case:

2024-06-22 19:35:30,029 [   3148]   WARN - #o.j.p.t.LocalTerminalDirectRunner - Unable to find shell-integrations/powershell/powershell-integration.ps1 configuration file
java.io.IOException: Cannot find shell-integrations/powershell/powershell-integration.ps1: D:\JetBrains\IntelliJ IDEA Ultimate\plugins\terminal\shell-integrations\powershell\powershell-integration.ps1 is not a file
	at org.jetbrains.plugins.terminal.LocalTerminalDirectRunner.findAbsolutePath(LocalTerminalDirectRunner.java:136)
	at org.jetbrains.plugins.terminal.LocalTerminalDirectRunner.findRCFile(LocalTerminalDirectRunner.java:95)
	at org.jetbrains.plugins.terminal.LocalTerminalDirectRunner.injectShellIntegration(LocalTerminalDirectRunner.java:451)
	at org.jetbrains.plugins.terminal.LocalTerminalDirectRunner.configureStartupOptions(LocalTerminalDirectRunner.java:206)
	at org.jetbrains.plugins.terminal.AbstractTerminalRunner.lambda$openSessionInDirectory$5(AbstractTerminalRunner.java:202)
	at com.intellij.openapi.application.impl.RwLockHolder$executeOnPooledThread$1.run(RwLockHolder.kt:154)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
	at java.base/java.lang.Thread.run(Thread.java:840)

Since the terminal is working now, could you please check if the mentioned file D:\JetBrains\IntelliJ IDEA Ultimate\plugins\terminal\shell-integrations\powershell\powershell-integration.ps1 is presented on your PC?

0

Kevin557557 
New terminal will be shown the same as old one in case that the used shell integration is missing. According to the exceptions from your log file, it looks like the PowerShell integration was missing and most probably this is the reason the new terminal was not working. After re-install of the IDE, the integration is not missing anymore and the new terminal is working as expected.

0

Please sign in to leave a comment.