-
Notifications
You must be signed in to change notification settings - Fork 952
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
Insert function documentation in editor #4813
Conversation
✅ Deploy Preview for remixproject ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@LianaHus what is the status of this pr? |
@LianaHus please review again |
pushChatHistory(prompt, result){ | ||
const chat:ChatEntry = [prompt, result.data[0]] | ||
this.solgpt_chat_history.push(chat) | ||
if (this.solgpt_chat_history.length >this.max_history){this.solgpt_chat_history.shift()} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there should be space after >
, before {
and wherever required to make it better readable
const item: monacoTypes.languages.InlineCompletion = { | ||
insertText: this.completion | ||
}; | ||
console.log("provided docu completion") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be removed?
const range = new monacoRef.current.Range(cln.start.line, cln.start.column, cln.start.line, cln.start.column) | ||
|
||
const lines = natspecCom.split('\n') | ||
const newnatspeccom = [] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you update this var to camelCase?
From now on, when the user right click on any function, then select
generate documentation
, the generated documentation in fitted above the functionThe user can now chat with the terminal outputs