Skip to content

:TSToolsRenameFile is not doing anything #373

@joacopaz

Description

@joacopaz

I get the prompt for renaming, but when modifying the name I don't see any file name changing nor error messages.

This is my Lazy config:

{
    'pmizio/typescript-tools.nvim',
    dependencies = {
      'nvim-lua/plenary.nvim',
      'neovim/nvim-lspconfig',
    },
    opts = {
      expose_as_code_action = 'all',
      complete_function_calls = false,
      jsx_close_tag = { enable = true, filetypes = { 'javascriptreact', 'typescriptreact' } },
      settings = {
        tsserver_plugins = {
          '@styled/typescript-styled-plugin',
        },
        separate_diagnostic_server = true,
        publish_diagnostic_on = 'insert_leave',
        expose_as_code_action = 'all',
        tsserver_file_preferences = {
          includeInlayParameterNameHints = 'all',
          includeCompletionsForModuleExports = true,
        },
      },
    },
  },

Am I missing something? I see this is a non-issue for most people (haven't found another issue) and is supported according to the README.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions