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

Show icons for code completion options #29744

Merged
merged 1 commit into from
Jul 5, 2019
Merged

Show icons for code completion options #29744

merged 1 commit into from
Jul 5, 2019

Conversation

Geequlim
Copy link
Contributor

@Geequlim Geequlim commented Jun 13, 2019

The second PR based on #29626

  • Show different icons for different type of completion options

Peek 2019-06-09 17-42

@groud
Copy link
Member

groud commented Jun 13, 2019

Wow, that's great ! It looks really pro.

@qarmin
Copy link
Contributor

qarmin commented Jun 13, 2019

I see a lot of flickering, because you probably use Nvidia + Linux, so I recommend to recording a videos with SimpleScreenRecorder, which change some Nvidia settings.

core/script_language.h Outdated Show resolved Hide resolved
scene/gui/text_edit.cpp Outdated Show resolved Hide resolved
scene/gui/text_edit.cpp Outdated Show resolved Hide resolved
scene/gui/text_edit.cpp Outdated Show resolved Hide resolved
@nobuyukinyuu
Copy link
Contributor

It was mentioned in #30297 that the readability could be improved by spacing the icon and associated text somewhat further apart. Perhaps an extra pixel or two margin can help?

@Geequlim
Copy link
Contributor Author

Geequlim commented Jul 4, 2019

@Paulb23 Make the icon as property of ScriptCodeCompletionOption and moved the icon definitions from text_edit.cpp to code_editor.cpp.

Also add space between the icons and titles.

@akien-mga Rebased to master and droped the commit in #29626

@akien-mga akien-mga requested a review from Paulb23 July 4, 2019 13:28
Paulb23
Paulb23 previously requested changes Jul 4, 2019
Copy link
Member

@Paulb23 Paulb23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just the one minor note below.

The completion being editor only is related to #29823

editor/code_editor.cpp Outdated Show resolved Hide resolved
@Geequlim
Copy link
Contributor Author

Geequlim commented Jul 5, 2019

Removed the editor hint checking in code_editor.cpp

@akien-mga akien-mga dismissed Paulb23’s stale review July 5, 2019 06:00

Changes done.

@akien-mga akien-mga merged commit 259a3fb into godotengine:master Jul 5, 2019
@akien-mga
Copy link
Member

akien-mga commented Jul 5, 2019

Thanks for this neat feature!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants