Skip to content
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

Merged
merged 6 commits into from
Jun 17, 2024
Merged

Insert function documentation in editor #4813

merged 6 commits into from
Jun 17, 2024

Conversation

STetsing
Copy link
Collaborator

@STetsing STetsing commented May 23, 2024

From now on, when the user right click on any function, then select generate documentation, the generated documentation in fitted above the function

The user can now chat with the terminal outputs

@STetsing STetsing added the WIP label May 23, 2024
@STetsing STetsing added this to In progress in v0.50.0 - Feature Freeze 03/06 via automation May 23, 2024
Copy link

netlify bot commented May 23, 2024

Deploy Preview for remixproject ready!

Name Link
🔨 Latest commit a214de0
🔍 Latest deploy log https://app.netlify.com/sites/remixproject/deploys/66702cd5f1af7c000850c6b1
😎 Deploy Preview https://deploy-preview-4813--remixproject.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@STetsing
Copy link
Collaborator Author

STetsing commented Jun 3, 2024

@LianaHus what is the status of this pr?

@Aniket-Engg Aniket-Engg removed this from In progress in v0.50.0 - Feature Freeze 03/06 Jun 4, 2024
@STetsing
Copy link
Collaborator Author

@LianaHus please review again

@STetsing STetsing requested a review from LianaHus June 11, 2024 11:20
@STetsing STetsing removed the WIP label Jun 12, 2024
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()}
Copy link
Collaborator

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")
Copy link
Collaborator

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 = []
Copy link
Collaborator

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?

@Aniket-Engg Aniket-Engg merged commit 1fbe8ec into master Jun 17, 2024
32 checks passed
@Aniket-Engg Aniket-Engg deleted the insert_docu branch June 17, 2024 12:42
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

Successfully merging this pull request may close these issues.

None yet

2 participants