foadsf

u/foadsf


r/csharp•

I've created a CLI version of Mosh Hamedani's C# debugging tutorial using mdbg.exe instead of Visual Studio's GUI debugger. It's designed for those who prefer or need to use command-line tools.

Repository: here

Features:

  • Step-by-step guide for CLI debugging in C#
  • Uses mdbg.exe, csc.exe, and other CLI tools
  • Includes a flexible compile.bat for different compilation options

Has anyone else worked with mdbg.exe? What's your experience with CLI debugging in C#?

I'd love to get some feedback. Any suggestions for improvements or additional features are welcome!

[ref] [Mosh Hamedani's C# debugging tut

10

I've been trying to get DeepSpeech running on my Windows machine, but I'm running into an issue where the transcription process doesn't seem to recognize the audio in my .wav file. Here are the steps I've followed so far:

  • Installed NVM using Chocolatey: choco install nvm -y
  • Installed Node.js: nvm install 13. 64
  • Switched to the installed version: nvm use 13.0.1
  • Installed DeepSpeech: npm install deepspeech

However, when I run the inference command:

deepspeech --model "path\to\deepspeech-0.9.3-models.pbmm" --scorer "path\to\deepspeech-0.9.3-models.scorer" --audio output.wav > transcribed_text.txt

I get the foll

10

r/csharp•

I've just pushed a small template that might interest those of you who love Emacs or are curious about trying it for C# development.

https://i.redd.it/ekgu3x0c8asd1.gif

Key features:

  • 100% local configuration (no global Emacs setup needed)
  • C# syntax highlighting, autocompletion, and error checking
  • XAML support
  • Git integration with Magit
  • One-key build (F5) and run (F6) functionality
  • Project management with Projectile

It's all contained in a single .dir-locals.el file. Just drop it into your C# project, open Emacs, and you're good to go!

I created this because I wanted a lightweight, portable C# development environment

119

r/VisualStudio•

I'm attempting to automate the creation of a C# Console Application (.NET Framework) project using PowerShell and Visual Studio's Development Tools Environment (DTE) COM-based automation model. My goal is to create a script that can be run from the command line without user interaction.

Current Setup:

  • Visual Studio Professional 2019
  • PowerShell script (Create-CSharpProject.ps1)
  • Running the script via cmd: powershell.exe -ExecutionPolicy Bypass -File "path\to\Create-CSharpProject.ps1"

Specific Requirements:

  • Must use Visual Studio's DTE automation model
  • Cannot use dotnet.exe or any .NET Core tools
  • Prefer to use devenv.com, msbuild.exe, and csc.exe for building an
15


r/emacs•

I'm contemplating a migration from Visual Studio Code to Emacs, and I wanted to replicate one of my favorite VSCode features: instant preview for lightweight markup languages. As part of this transition, I'm exploring Org mode as a powerful alternative to Markdown and AsciiDoc.

To make this transition smoother, I've created a template that provides a portable Emacs Org Mode setup with instant HTML preview and auto-refresh functionality. Here are the key features:

  • Automatic HTML export on save
  • Instant preview using Emacs' built-in eww browser
  • Auto-refresh preview on each save
  • Automatic package installation (org, htmlize, magit
184

r/emacs•

I'm trying to create a portable Emacs Org Mode setup that I can store on GitHub and clone to any machine with a fresh Emacs installation. My goal is to replicate a workflow similar to what I used in Visual Studio Code with Markdown files. Here's what I'm aiming for:

  • Open an .org file on the left and have an "instant view" of the corresponding .html file on the right, automatically updated when I save.
  • Use Emacs' built-in HTML viewer eww in GUI mode for the preview.
  • Automatically install any required packages (e.g., impatient-mode) if they're not already installed.
  • Set up the layout so that only the source .org file (on the left) and the .html preview (on the right) are v
51

r/Python•

I've created a quick-start guide for literate programming with Python and I'm looking to expand it with your help.

What My Project Does

My project is a GitHub Gist that provides step-by-step instructions for setting up a literate programming environment using Quarto, VS Code, and Python on Windows. It enables developers to write code and documentation in a single file, enhancing code readability and maintainability.

Target Audience

This guide is meant for:

  • Python developers interested in exploring literate programming
  • Educators and students looking for better ways to document code
  • Anyone working on projects wh
612

r/vscode•

I'm trying to figure out the best way to integrate AI coding assistants into my VSCode setup. There seem to be a lot of options out there, and I'm feeling a bit lost.

Here's what I've found so far:

Extensions:

  • Continue
  • CodeGPT
  • Autocoder
  • Cody
  • Cake
  • Twinny
  • Rift
  • Turbopilot
  • Wizarcoder-vsc

Open-weight models:

  • Codestral
  • DeepSeek Coder
  • Llama 3
  • StarCoder 2
  • CodeLlama
  • Google CodeGemma
  • Granite Code

I've also heard about GPT4All and Ollama as potential options.

What are you all using? What works well? Any recommendations for someone just starting to explore AI coding assistants in VSCode?

128