Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 16:36
    msftbot[bot] labeled #2462
  • 16:36
    joey-carlisle4 commented #2462
  • May 10 15:55
    msftbot[bot] labeled #3104
  • May 10 15:55
    kinghat commented #3104
  • May 10 00:30
    ninmonkey commented #3024
  • May 10 00:29
    msftbot[bot] labeled #3024
  • May 10 00:29
    ninmonkey commented #3024
  • May 09 08:24
    msftbot[bot] labeled #2745
  • May 09 08:24
    ztrhgf commented #2745
  • May 09 05:59
    TylerLeonhardt commented #87
  • May 09 05:57
    TylerLeonhardt commented #87
  • May 08 19:58
    JustinGrote commented #87
  • May 08 19:48
    msftbot[bot] labeled #87
  • May 08 19:48
    Tiberriver256 commented #87
  • May 07 21:06
    dependabot[bot] synchronize #3312
  • May 07 21:06
    dependabot[bot] edited #3312
  • May 07 21:05
    dependabot[bot] edited #3312
  • May 07 21:05
    andschwa closed #3341
  • May 07 21:05
    andschwa auto_merge_enabled #3341
  • May 07 19:19
    dependabot[bot] edited #3312
PowerShell Connect
@PoshConnect_twitter
justinwgrote (discord) Sorry I didn't read the rest of the context
andschwa (discord) No worries
PowerShell Connect
@PoshConnect_twitter
andschwa (discord) @PrzemyslawKlys How often does this repro for you? I'm seeing it like once in a blue moon, cannot force it to happen.
PrzemyslawKlys (discord) probably 1 in 3 restarts
PowerShell Connect
@PoshConnect_twitter
andschwa (discord) There seems to be a timing issue. When I enable diagnostic logging, I see it practically never. When I set it to normal logging, I can repro more consistently 😦
justinwgrote (discord) ugh, race conditions are the WORST
PowerShell Connect
@PoshConnect_twitter
Peter Vandivier (slack) so… TIL about https://git-scm.com/docs/git-log#Documentation/git-log.txt---full-history. sadly it was because the bitbucket file history UI uses that option and vscode timeline doesn’t so i wasted an hour trying to figure out just how crazy i was going.
Peter Vandivier (slack) i wanted to do a feature request to add a toggle for --full-history (--follow support already declined in https://github.com/microsoft/vscode/issues/94803#issuecomment-611679897) but i can’t seem to find anything in the bitbucket documentation describing the --full-history behaviour in order to justify the request without screencapping a proprietary repo
Peter Vandivier (slack) anyone aware of another UI with this behaviour that i could link to docs for?
PowerShell Connect
@PoshConnect_twitter
Celmor (discord) how do I tell vscode PS linter (or w/e it's called) to check against windows powershells (5.x) version? it would make developing cross-platform compatible scripts easier
Celmor (discord) (without requiring pwsh to be installed everywhere)
seeminglyscience (discord) ^ blog post that goes into detail about that
PowerShell Connect
@PoshConnect_twitter

seeminglyscience (discord) yeah unfortunately those are next to impossible to capture once things are slowed down. Attaching or extra logging kills a lot of race conditions. That's why most similar issues get answered with "hopefully fixed when all of threading logic is rewritten".

With some great effort you might be able to get some luck attaching with windbg after already dead locked though

PowerShell Connect
@PoshConnect_twitter
Celmor (discord) thanks. I wonder if I can assure that module to be installed on my machines I use vscode on for ps writing via vscodes setting sync feature
Celmor (discord) an on that note, if my $profile could be synced as well
PowerShell Connect
@PoshConnect_twitter
seeminglyscience (discord) good question, I would guess not but I haven't used it enough personally to know how customization it is
seeminglyscience (discord) there's probably an extension or something to do that though
PowerShell Connect
@PoshConnect_twitter
andschwa (discord) I actually had windbg attached after it "hung" but it didn't help 😬
andschwa (discord) We are making progress on Rob's threading fixes.
PowerShell Connect
@PoshConnect_twitter
Peter Daniels (slack) My vscode + powershell ext seems to be wacky. I keep getting mixed syntax highlighting and sometimes teh debugger doesn't pick up code changes. Rather wonky. Anyone else getting this experience?
PowerShell Connect
@PoshConnect_twitter
pwshdoodUK (slack) restarting the integrated terminal tends to sort that out
Peter Daniels (slack) Yeah. I have "jiggled the handle" and it helps, but wondering why it started doing that so much of late? I never noticed the mixed syntax highlighting until the last few days.
PowerShell Connect
@PoshConnect_twitter
justinwgrote (discord) Peter it's bugs with the semantic highlighting provided by the PS extension, you can disable it and go back to the normal markdown one if you want
PowerShell Connect
@PoshConnect_twitter
andschwa (discord) TBH I'm unsure what to do about the semantic highlighting. It was a feature "completed" before I took over, but because of the time since the last stable release, it never got tested outside of previews. Reception has been...less than stellar, and normally that'd put it to the top of the list to fix, but it's mostly cosmetic and there's so much else to fix first. @justinwgrote how do you think folks would respond to it being disabled by default perhaps?
justinwgrote (discord) If you were to disable it tomorrow I think few would notice, I know that there was also a really good fixup of the Textmate grammar too out there
justinwgrote (discord) So maybe swap in the "better" textmate grammar and disable the semantic highlighting by default but make it configurable to enable
justinwgrote (discord) Won't be a breaking change, just an annoyance at best, but not any more annoying than when it locks up (which is fairly rare for me but it does happen)
justinwgrote (discord) Usually with really large files
justinwgrote (discord) Think it was this outstanding PR we had some back and forth on in march: PowerShell/EditorSyntax#156
PowerShell Connect
@PoshConnect_twitter
seeminglyscience (discord) yeah I think making it opt in would probably be a good call
justinwgrote (discord) At least until it's demonstrably stable
PowerShell Connect
@PoshConnect_twitter
andschwa (discord) I managed to get a few of the smaller EditorSyntax fixes in, but yeah still need to get that bigger rewrite reviewed and tested.
seeminglyscience (discord) part of the issue is that even actual fixes that make things more correct often make folks mad :/
PowerShell Connect
@PoshConnect_twitter
andschwa (discord) Can't please everyone!
andschwa (discord) Hopefully stability fixes please everyone though lol
PowerShell Connect
@PoshConnect_twitter
DougFinke (discord) https://marketplace.visualstudio.com/items?itemName=RandomFractalsInc.snippets-viewer
Check out this SnippetsViewer ⇥ for @code with combined snippets tree view. See all the PowerShell snippets and other languages
PowerShell Connect
@PoshConnect_twitter
ninmonkey (discord) > get some luck attaching with windbg after already dead locked though
I didn't know you could do that. Do you just use this?
https://cdn.discordapp.com/attachments/446531919644065804/841113127104938044/unknown.png
seeminglyscience (discord) yeah. It's a pain to set up in a way that you might be able to get some hints though. By the time I was able to actually sos configured right for core I didn't have any dead locks to debug anymore 😁
ninmonkey (discord) I found a simple reproducible debug hang: syntax errors
  • make the debugger hang, it never finishes, and
  • PSIT returns to normal, doesn't hang
    function TestBreak {
      param($x $y) # note missing ,
      process { 'Hi' }
    }
    TestBreak
ninmonkey (discord) this never goes away, but the PSIT works afterward
https://cdn.discordapp.com/attachments/446531919644065804/841113893076992020/unknown.png
seeminglyscience (discord) that's probably more a message isn't getting sent, don't think windbg is gonna help with that one unfortunately
ninmonkey (discord) It usually works for me. Every once in a while I get that image peter posted. Close -> reopen last closed tab fixes it
PowerShell Connect
@PoshConnect_twitter
ninmonkey (discord) Some addons will say on first run something like "change your language server to pylance" ?
That might get around the disable by default or not question
PowerShell Connect
@PoshConnect_twitter
ninmonkey (discord) awesome
PowerShell Connect
@PoshConnect_twitter
wsmelton (discord) I get into VS Code today and now PS extension is not starting (no errors) just does not start when I open a PS1 file??!?!!
wsmelton (discord) Doing Show Integrated Terminal does nothing
wsmelton (discord) Extension log for PS just gives me normal status 5/11/2021 9:44:06 AM [NORMAL] - Visual Studio Code v1.57.0-insider 64-bit 5/11/2021 9:44:06 AM [NORMAL] - PowerShell Preview Extension v2021.4.2 5/11/2021 9:44:06 AM [NORMAL] - Operating System: Windows 64-bit
wsmelton (discord) If I do restart current session though it seems to start it up.