GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — bug: Tab gets used for indentation for code actions · Issue #346 · nvim-java/nvim-java

bug: Tab gets used for indentation for code actions #346

New issue
Copy link
New issue
Copy link
Open
Open
bug: Tab gets used for indentation for code actions#346
Copy link
Labels
bugSomething isn't workingSomething isn't working

Description

@Jaffex
Jaffex
opened on Jan 30, 2025
Issue body actions

Did you check docs and existing issues?

  • I have read all the plugin docs
  • I have searched the existing issues
  • I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

0.10.3

Operating system/version

Fedora 41

Describe the bug

When code gets added by a code action (for example creating a non existing method), the code generated does not follow the indentation style configured within neovim and adds a tabulator as indentation.

Steps To Reproduce

  1. Try to use a method that does not exist yet
  2. Use the code action to create the method
  3. Look at the generated code, it's indented with tabs.

Expected Behavior

I would expect the code action's format to follow the indentation configured in neovim (in my case, 4 spaces) for indentations.

Reacted by Snoweuph

Activity

  1. Jaffex
    added
    bugSomething isn't workingSomething isn't working
    on Jan 30, 2025
  2. snoweuph commented on May 5, 2025

    @snoweuph
    snoweuph
    on May 5, 2025
    More actions

    and it should prolly read the .editorconfig file of a project

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.