Urgent.News

What's breaking now, across thousands of outlets.

Tech

Edit C# without braces, without changing your project

Many younger programmers grew up on the elegance of Python and get irritated by C# filling their screen with needless squiggles that carry no information that wasn't already right there in the indentation. I'm an old programmer and it irritates me! Relief is at hand. I’ve built ICS — Indented C# , an editor extension that lets you work with an indented view of your C# code. Your project keeps…

Many young programmers, accustomed to Python's clean syntax, find C#'s need for braces and semicolons distracting. Veteran coder found relief with ICS — Indented C#, an editor extension that allows programmers to work with an indented view of C# code without altering their project files. The project remains with standard .cs files, and the compiler, Git, and teammates continue to see C# code using traditional braces and semicolons.

The extension can be installed from the Visual Studio Marketplace, and a converter is included to work the first time it is used.

An ICS view appears alongside the existing C# code when a file is opened. For instance, an Invoice.cs file, with a Total method, is displayed in ICS format with indentation showing the structure of the class and method bodies without visual markers. Any changes made in the ICS pane are instantly reflected in the conventional C# view, and vice versa, providing an easy way to see the relationship between edited code and its impact on the project.

To save the edited code, users must manually save the preview with Ctrl+S, which then updates the original .cs file. The ICS view itself does not create a separate .ics file. Standalone ICS export is available as an optional workflow. The extension respects the structure of the code, so rearranging statements in the indentation view adjusts the structure in the conventional C# view. The extension is free, but a Pro version offers additional automation features.

Users are encouraged to try editing one file in an existing project and share their experience on how the indented view affects their understanding of the code.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Everything Coming to HBO Max in November

Warner Bros. has revealed a hefty lineup of new additions coming to HBO Max in November. The streaming service is diving right into the holiday vibes on November 1, rolling out a spread of classic…

CRM Semantic Search for Ask-Your-Docs: Node.js Embeddings via APIs or a Gateway

Use a gateway for a Node.js ask-your-docs semantic search feature when the CRM action path must survive a provider change; use direct APIs when you need the smallest retrieval surface and can own…

  • Use gateway for CRM action path consistency, direct APIs for minimal retrieval surface.
  • Fail safely by separating embedding, reranking, and answering into distinct interfaces.
  • Implement using Infrai for verified embeddings route, delegate request payloads to adapter.

O que um auditor pede, controle por controle, numa auditoria ISO 42001

O que um auditor pede, controle por controle, numa auditoria ISO 42001 O que um auditor pede, controle por controle, numa auditoria ISO 42001 Numa auditoria ISO 42001, o auditor não avalia se o seu…

  • Auditors focus on documented management system, not AI model quality.
  • Requirements include signed policy, inventory, impact assessment.
  • Proper preparation essential to meet ISO 42001 standards.

More from Friday 30 October →