-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Some IDEs will automatically convert a set number of spaces to a tab.
This is the convention in C source files in the R codebase, specifically every 8 spaces in an indent is converted to a tab.
Unfortunately, Positron and VS Code do not currently support this: it is possible to define settings so that the C source files are displayed correctly, but not so that they can edited/written correctly.
The skeleton of a Positron extension to automatically convert tabwidth spaces to tabs has been created by @SaranjeetKaur: r-devel/auto-tabs#1. Help is wanted to further develop the extension.
Documentation on writing a Positron extension is provided here: https://positron.posit.co/extension-development.html. To begin developing the extension, you will need :
- Basic familiarity with TypeScript/JavaScript and npm
- An up-to-date version of Positron installed
- Node.js (version 18 or greater)
This is a breakout issue from #105.