Struggling with PowerShell in Cursor IDE – Any Workarounds?

0
1
Asked By CleverBadger123 On

Hey everyone! I've been tinkering with Cursor IDE, which is a fork of VS Code with AI features, for my PowerShell development. Unfortunately, I'm hitting some serious issues with terminal integration, making it pretty tough to work. I've come across a few specific problems: 1) The buffer size seems limited to a height of 1, which leads to errors like ArgumentOutOfRangeException; 2) PSReadLine compatibility issues that throw exceptions while using commands like Format-Table; 3) Display problems with Write-Progress that cause messed-up command prompts; 4) Inconsistent formatting with Format-Table that sometimes works after several tries; and 5) Rendering problems where commands end up split across lines unexpectedly. I'm running PowerShell 7.5.0 and PSReadLine 2.3.6 on Windows 11 and Windows Server 2022, with Cursor IDE version 0.48.9 x64. I'm looking for help! 1) Has anyone discovered workarounds for these issues in Cursor or VS Code? 2) Are there terminal settings I should tweak for buffer size? 3) Can I configure PSReadLine to work here? 4) Should I think about switching to a different shell method? 5) Any alternative ways to run PowerShell commands in the IDE that might help? I've already tried various PSReadLine versions, disabling terminal integration, switching PowerShell profiles, and toggling between PowerShell 5.1 and 7.x. Any tips would be awesome since these issues are really slowing me down!

2 Answers

Answered By TechieTurtle42 On

In my experience, PowerShell integration with VS Code works smoothly. Maybe you should submit a bug report to the Cursor developers. They might be able to address these issues in future updates.

SkepticalFox99 -

True, but Cursor is built specifically for AI features from scratch, unlike additional plugins for VS Code. It might be worth figuring out why they're using their own setup instead of relying on VS Code.

Answered By CuriousPenguin87 On

Have you reached out to the developers of Cursor? They might not be aware of these issues, and feedback could really help them improve it.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.