AvinZarlez / processing-vscode

A Visual Studio Code extension for the programming language Processing
https://marketplace.visualstudio.com/items?itemName=Tobiah.language-pde
MIT License
177 stars 25 forks source link

Help online #1

Closed cameyo42 closed 6 years ago

cameyo42 commented 7 years ago

Thank you for this extension.
I'd like to open the processing reference from VSCode for the selected text (Shift-Ctrl-F in the IDE processing).
Happy New Year.

Best regards,
Max

p.s. debug processing code within VSCode is a dream :-)

cameyo42 commented 7 years ago

Attached is my incomplete solution (tasks.json file) tasks.json.txt . i don't know how to pass the selected text as argument.

Regards, Max

AvinZarlez commented 7 years ago

Great feature suggestion! The code would need to be part of the extension.ts file, but it's doable.

I've already done a similar feature in my Unity Tools Extension project https://github.com/TobiahZ/unity-tools

If you want (and know Node.JS), you could take a stab and implement a solution based off the way I do it in my Unity-Tools project.

Otherwise, I can do it but it may take me some time before I have an opportunity to sit down and work on it due to other work I need to do.

cameyo42 commented 7 years ago

Sorry, i don't know Node.js. Take your time...i'll wait :-)

Best regards,

Massimo

2017-01-11 0:33 GMT+01:00 Tobiah Zarlez notifications@github.com:

Great feature suggestion! The code would need to be part of the extension.ts file, but it's doable.

I've already done a similar feature in my Unity Tools Extension project https://github.com/TobiahZ/unity-tools

If you want (and know Node.JS), you could take a stab and implementing a solution based off the way I do it in my Unity-Tools project.

Otherwise, I can do it but it may take me some time before I have an opportunity to sit down and work on it due to other work I need to do.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/TobiahZ/processing-vscode/issues/1#issuecomment-271732319, or mute the thread https://github.com/notifications/unsubscribe-auth/ALEuxwmv-bt950sJ_9qoOfLcMJZT8bOLks5rRBVWgaJpZM4Ldql_ .

AvinZarlez commented 6 years ago

Took me a while, but this is now part of the latest version (1.1.0)!

Let me know if you have any issues @cameyo42

cameyo42 commented 6 years ago

Hi Tobiah, thanks for this extension !!! I have a question: after selecting a processing keyword (es. mouseX) and press Ctrl-Shift-P: Selecting "Processing: Open Extension Documentation" --> open https://processing.org/reference/ web site Selecting "Processing: Open Documentation for Selection" --> open https://www.google.com/search?as_sitesearch=processing.org&as_q=println web site Selecting "Processing: Search Processing Website" --> open https://processing.org/reference/ web site

Is there a way to open the help web page of selected word? What i have missing ?

Best regards

Massimo

2018-05-09 21:02 GMT+02:00 Tobiah Zarlez notifications@github.com:

Took me a while, but this is now part of the latest version (1.1.0)!

Let me know if you have any issues @cameyo42 https://github.com/cameyo42

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/TobiahZ/processing-vscode/issues/1#issuecomment-387842264, or mute the thread https://github.com/notifications/unsubscribe-auth/ALEux9hlDvfMY-cQ8BQ8KJlbCJEg0fAuks5twz0ugaJpZM4Ldql_ .

AvinZarlez commented 6 years ago

By help we page, do you mean opening https://processing.org/reference/mouseX.html directly?

The only API I saw for processings site was the Google search. I don't have a way to know what you selected is a processing keyword or not so best I can do is search and ideally first result is that page.

Unless I misunderstand your question?

-Tobiah Zarlez

Sent from Outlook for Android


From: cameyo notifications@github.com Sent: Thursday, May 10, 2018 2:29:38 AM To: TobiahZ/processing-vscode Cc: Tobiah Zarlez; State change Subject: Re: [TobiahZ/processing-vscode] Help online (#1)

Hi Tobiah, thanks for this extension !!! I have a question: after selecting a processing keyword (es. mouseX) and press Ctrl-Shift-P: Selecting "Processing: Open Extension Documentation" --> open https://processing.org/reference/ web site Selecting "Processing: Open Documentation for Selection" --> open https://www.google.com/search?as_sitesearch=processing.org&as_q=println web site Selecting "Processing: Search Processing Website" --> open https://processing.org/reference/ web site

Is there a way to open the help web page of selected word? What i have missing ?

Best regards

Massimo

2018-05-09 21:02 GMT+02:00 Tobiah Zarlez notifications@github.com:

Took me a while, but this is now part of the latest version (1.1.0)!

Let me know if you have any issues @cameyo42 https://github.com/cameyo42

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/TobiahZ/processing-vscode/issues/1#issuecomment-387842264, or mute the thread https://github.com/notifications/unsubscribe-auth/ALEux9hlDvfMY-cQ8BQ8KJlbCJEg0fAuks5twz0ugaJpZM4Ldql_ .

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/TobiahZ/processing-vscode/issues/1#issuecomment-388003307, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AEMFPNjeq4mOheur_cfAwR48yxXSmFHDks5txAiCgaJpZM4Ldql_.

cameyo42 commented 6 years ago

You understood well :-) Your solution is ok for me. Thanks again.

Massimo

2018-05-10 16:16 GMT+02:00 Tobiah Zarlez notifications@github.com:

By help we page, do you mean opening https://processing.org/ reference/mouseX.html directly?

The only API I saw for processings site was the Google search. I don't have a way to know what you selected is a processing keyword or not so best I can do is search and ideally first result is that page.

Unless I misunderstand your question?

-Tobiah Zarlez

Sent from Outlook for Android


From: cameyo notifications@github.com Sent: Thursday, May 10, 2018 2:29:38 AM To: TobiahZ/processing-vscode Cc: Tobiah Zarlez; State change Subject: Re: [TobiahZ/processing-vscode] Help online (#1)

Hi Tobiah, thanks for this extension !!! I have a question: after selecting a processing keyword (es. mouseX) and press Ctrl-Shift-P: Selecting "Processing: Open Extension Documentation" --> open https://processing.org/reference/ web site Selecting "Processing: Open Documentation for Selection" --> open https://www.google.com/search?as_sitesearch=processing.org&as_q=println web site Selecting "Processing: Search Processing Website" --> open https://processing.org/reference/ web site

Is there a way to open the help web page of selected word? What i have missing ?

Best regards

Massimo

2018-05-09 21:02 GMT+02:00 Tobiah Zarlez notifications@github.com:

Took me a while, but this is now part of the latest version (1.1.0)!

Let me know if you have any issues @cameyo42 < https://github.com/cameyo42>

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/TobiahZ/processing-vscode/issues/1# issuecomment-387842264, or mute the thread https://github.com/notifications/unsubscribe-auth/ALEux9hlDvfMY- cQ8BQ8KJlbCJEg0fAuks5twz0ugaJpZM4Ldql_ .

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/ TobiahZ/processing-vscode/issues/1#issuecomment-388003307, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AEMFPNjeq4mOheur_ cfAwR48yxXSmFHDks5txAiCgaJpZM4Ldql_.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/TobiahZ/processing-vscode/issues/1#issuecomment-388066601, or mute the thread https://github.com/notifications/unsubscribe-auth/ALEuxy8sPktDNcP3MQchZyQFa4uMICS3ks5txEulgaJpZM4Ldql_ .