Skip to content

[Feature request] Workspace settings (or major mode settings) #257

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
konrad1977 opened this issue Nov 26, 2024 · 1 comment
Open

[Feature request] Workspace settings (or major mode settings) #257

konrad1977 opened this issue Nov 26, 2024 · 1 comment

Comments

@konrad1977
Copy link

konrad1977 commented Nov 26, 2024

I really like the features of quick insert changes in my code. But quite often it doesn't respect how I write my code. There fore I am suggesting to use a project wide .workspace file with instructions to the LLM:

swift-mode: 
use async await over promise (combine)
use guard-statements and else are on different lines
use map, compactMap over foreach or for in.
use add protocol conformance as extensions over used in declaration of the class/struct
use always use 4 tab as indentation
use private when possible
@xenodium
Copy link
Owner

Would be good to flesh out the behaivour we'd like...

  • Should .workspace entry be appended to the system prompt (probably yes)?
  • Should .workspace entry be appended to the context?
  • Should it apply to all buffers which resolve to a .workspace entry?
  • Is .workspace a standardized file used for multiple purposes? Should we use a chatgpt-shell specific file? What's the file format.

Great feature request, though chatgpt-shell is taking quite a bit of time. I'd love to spend more time on it, but I need more sponsors. Tell you friends ;)

@xenodium xenodium changed the title Feature request: Workspace settings (or major mode settings) [Feature request] Workspace settings (or major mode settings) Nov 26, 2024
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

No branches or pull requests

2 participants