Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

should IntelliSense suggest only built in function? #645

Closed
aster94 opened this issue Aug 23, 2018 · 3 comments
Closed

should IntelliSense suggest only built in function? #645

aster94 opened this issue Aug 23, 2018 · 3 comments

Comments

@aster94
Copy link
Contributor

aster94 commented Aug 23, 2018

hello,

as wikipedia says the aim of intelliSense is to

reducing the amount of name memorization needed

i think that the intelliSense in vscode should be "focused" on the built-in functions used by the arduino users and not in all the functions which are hidden by the core

example:
44535657-cc095a80-a6fa-11e8-83ee-55613d761c1d
i guess that no one ever used that stuff, the common user is interested only in pinMode

44535744-01ae4380-a6fb-11e8-8099-9ed6193ab58e
it doesn't even suggest delay

44535754-0b37ab80-a6fb-11e8-81b2-8749e0e21939
same for the serial, where is "begin"?

many and many other examples could be made
the point is that the arduino's user uses arduino not to use the function inside the core but only the built-in which can be found in Arduino.h
https://github.com/arduino/ArduinoCore-avr/blob/master/cores/arduino/Arduino.h

44535763-0ffc5f80-a6fb-11e8-9995-85d6fff69723
also the libraries inside the core shouldn't been suggested, the only suggested should be the libraries inside the workspace and the one from the core (https://github.com/arduino/ArduinoCore-avr/tree/master/libraries)

i don't know if this is possible/easy but this would be another great improvements

@czgtest
Copy link
Contributor

czgtest commented Aug 27, 2018

Thanks a lot for your feedback and suggestion, it is a good feature request to improve intelliSense.

@aster94
Copy link
Contributor Author

aster94 commented Oct 26, 2018

I don't have any knowledge about intellisense but i think this is funny: the perfect behaviour should be this one (_debug is a serial port)
screenshot 2018-10-26 18 44 46

but unfortunately using the normal way arduino people code it doesn't show anything
screenshot 2018-10-26 18 45 36

@stale
Copy link

stale bot commented Apr 16, 2019

This issue has been automatically marked as stale and closed because it has not had recent activity. Please feel free to open a new issue if you would like further discussion. Thank you for your contributions.

@stale stale bot added the stale label Apr 16, 2019
@stale stale bot closed this as completed May 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants