Skip to content

Draft: feat: allow code suggestions for unsaved files

Tristan Read requested to merge tr-code-suggestion-untitled-files into main

Description

Allows code suggestions for unsaved files.

Big caveat: some parts of the LS are not filetype aware without an extension (e.g. intent detection) so there may be some issues (e.g. gitlab-org/editor-extensions/gitlab-lsp#123).

Change added as part of streaming session with @jrushford 🎉

Related Issues

Related: gitlab-org/editor-extensions/gitlab-lsp#123. Needs a separate VS Code issue.

How has this been tested?

Screenshots (if appropriate)

What CHANGELOG entry will this MR create?

  • fix: Bug fix fixes - a user-facing issue in production - included in changelog
  • feature: New feature - a user-facing change which adds functionality - included in changelog
  • BREAKING CHANGE: (fix or feature that would cause existing functionality to change) - should bump major version, mentioned in the changelog
  • None - other non-user-facing changes
Edited by Tristan Read

Merge request reports