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

Adding flags for Smalltalk reference. Refactor some direct reference … #3155

Merged
merged 5 commits into from
Apr 12, 2019
Merged

Adding flags for Smalltalk reference. Refactor some direct reference … #3155

merged 5 commits into from
Apr 12, 2019

Conversation

Alisu
Copy link
Contributor

@Alisu Alisu commented Apr 10, 2019

…to instVar.

NECCompletion had a lot of them and it could be nice to be able to pass another Environment as argument.

@cdlm cdlm added the review label Apr 10, 2019
Copy link
Member

@jecisc jecisc left a comment

Choose a reason for hiding this comment

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

I added suggestions to follow common formatting in Pharo + a proposition to improve coherence in flags.

src/NECompletion/NECEntry.class.st Outdated Show resolved Hide resolved
src/NECompletion/NECPreferences.class.st Outdated Show resolved Hide resolved
src/NECompletion/NECUntypedModel.class.st Outdated Show resolved Hide resolved
src/NECompletion/NOCCompletionTable.class.st Outdated Show resolved Hide resolved
@Alisu
Copy link
Contributor Author

Alisu commented Apr 10, 2019

Ok thanks jecisc, i am going to change that.

@guillep
Copy link
Member

guillep commented Apr 10, 2019

@jecisc can you check that the new changes are ok?

Copy link
Member

@jecisc jecisc left a comment

Choose a reason for hiding this comment

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

Seems fine for me. I added a comment at a place where I think it is missing a flag.

src/NECompletion/NECContext.class.st Outdated Show resolved Hide resolved
@@ -18,6 +18,7 @@ Class {

{ #category : #private }
NECVarTypeGuesser class >> classFrom: className [

Copy link
Member

Choose a reason for hiding this comment

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

No flag here?

Copy link
Contributor Author

@Alisu Alisu Apr 10, 2019

Choose a reason for hiding this comment

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

I was planning on removing this one but forgot about it in the end. It needs to be pushed in the instance side.

@jecisc
Copy link
Member

jecisc commented Apr 10, 2019

Please do not remove that without adding a hook to get the same behavior if you work on it :(

It must be horrible to code in Seaside if the code completion propose methods that are not from the canvas in rendering methods :'(

src/NECompletion/NECContext.class.st Outdated Show resolved Hide resolved
Copy link
Member

@guillep guillep left a comment

Choose a reason for hiding this comment

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

To me this is a good change. Test failure not related (Zodiac)

@guillep guillep merged commit c6668e1 into pharo-project:Pharo8.0 Apr 12, 2019
@guillep
Copy link
Member

guillep commented Apr 12, 2019

Thanks Theo!

@guillep guillep removed the review label Apr 12, 2019
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.

5 participants