Skip to content

Conversation

@codegen-sh
Copy link
Contributor

@codegen-sh codegen-sh bot commented Mar 26, 2025

This PR adds editor configuration files to standardize cursor behavior and code formatting across the repository:

  1. .editorconfig - A universal editor configuration file that works with most editors and IDEs to standardize:

    • Indentation style and size (spaces vs tabs)
    • Line endings (LF)
    • Final newlines
    • Trailing whitespace handling
    • Character encoding
    • Maximum line length
  2. .vscode/settings.json - VSCode-specific settings that include cursor-related configurations:

    • Cursor style (line)
    • Cursor blinking (solid)
    • Cursor animation (smooth)
    • Multi-cursor modifier key (alt)
    • And other editor settings that affect cursor behavior

These configurations will help maintain consistent coding styles across the team and improve the development experience by standardizing cursor behavior and code formatting.

The settings are tailored for the languages used in the repository, with specific configurations for:

  • Python (4 spaces)
  • JavaScript/TypeScript (2 spaces)
  • JSON/YAML (2 spaces)
  • Markdown (special whitespace handling)
  • Shell scripts (2 spaces)
  • Makefiles (tabs)

These configurations can be adjusted based on team preferences.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants