René's URL Explorer Experiment


Title: Autocompletion of imports, class names, and static fields and methods after a classname by acardona · Pull Request #47 · scijava/script-editor · GitHub

Open Graph Title: Autocompletion of imports, class names, and static fields and methods after a classname by acardona · Pull Request #47 · scijava/script-editor

X Title: Autocompletion of imports, class names, and static fields and methods after a classname by acardona · Pull Request #47 · scijava/script-editor

Description: In any language, even in no language (for now), type and press control+space: "from ij ": expands possible packages and subpackages. "from ij.gui ": inserts "import " and expands possible classes (notice the white space after "gui") "ImageP": expands to e.g. ImagePlus "ImagePlus.": expands static fields and methods, case independent. "ImagePlus.C": expands matching static fields and methods such as COLOR_RGB. "importClass(Package.": expands to all available package + class name. "importClass(Package. This code builds on ClassUtil (the helper class aiming at fixing the "Open help for Class..." which is preliminary implemented as "Source or javadoc for class or package...", see #46 ). This pull request is merely a point of discussion and exploration. NOTE that it will take a few seconds before the autocompletion with control+space starts working: your system will be busy collecting class names from all jar files in Fiji. There are some known issues: For some reason, when there are commas in an import, like: "from ij import IJ, ImagePl" ... fails to recognize that this is the importStatement pattern, even though when tested separately in jython it works. May have to do with different number of backslashes for escaping characters. The "import ij" doesn't expand to e.g. "import ij.gui.PointRoi", rather, the list of classes is beyond the "ij" package and the replacement text removes the "ij" altogether.

Open Graph Description: In any language, even in no language (for now), type and press control+space: "from ij ": expands possible packages and subpackages. "from ij.gui ": inserts "import "...

X Description: In any language, even in no language (for now), type and press control+space: "from ij ": expands possible packages and subpackages. "from ij.gui ": inserts &am...

Opengraph URL: https://github.com/scijava/script-editor/pull/47

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:15a6f5ad-4b02-6de8-334b-5ed471f5ace3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC81C:37DD94:65A72E:879BA6:69719D1D
html-safe-noncea53924fde6525a482b8c2d729ef84ffb7cdfea599cdcb1ff8686cbf0bb638f85
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODFDOjM3REQ5NDo2NUE3MkU6ODc5QkE2OjY5NzE5RDFEIiwidmlzaXRvcl9pZCI6IjY4MjczNDQyNTUzMTY0OTk3NDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca11f2624acd102921ebbdad180af51003f445518f801837411b2551573a28742
hovercard-subject-tagpull_request:523649059
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/scijava/script-editor/pull/47/files
twitter:imagehttps://avatars.githubusercontent.com/u/50458?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/50458?s=400&v=4
og:image:altIn any language, even in no language (for now), type and press control+space: "from ij ": expands possible packages and subpackages. "from ij.gui ": inserts "import "...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonefdfdce9cd4f6ab85dca2b0d11264270829297c962dd5a79df449062d7822258f
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/scijava/script-editor git https://github.com/scijava/script-editor.git
octolytics-dimension-user_id1262770
octolytics-dimension-user_loginscijava
octolytics-dimension-repository_id18536809
octolytics-dimension-repository_nwoscijava/script-editor
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id18536809
octolytics-dimension-repository_network_root_nwoscijava/script-editor
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release51c736e60b302bd039c9d5164573d176ceb24bb2
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fscijava%2Fscript-editor%2Fpull%2F47%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fscijava%2Fscript-editor%2Fpull%2F47%2Ffiles
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=scijava%2Fscript-editor
Reloadhttps://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files
Reloadhttps://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files
Reloadhttps://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files
scijava https://patch-diff.githubusercontent.com/scijava
script-editorhttps://patch-diff.githubusercontent.com/scijava/script-editor
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fscijava%2Fscript-editor
Fork 11 https://patch-diff.githubusercontent.com/login?return_to=%2Fscijava%2Fscript-editor
Star 12 https://patch-diff.githubusercontent.com/login?return_to=%2Fscijava%2Fscript-editor
Code https://patch-diff.githubusercontent.com/scijava/script-editor
Issues 23 https://patch-diff.githubusercontent.com/scijava/script-editor/issues
Pull requests 3 https://patch-diff.githubusercontent.com/scijava/script-editor/pulls
Actions https://patch-diff.githubusercontent.com/scijava/script-editor/actions
Projects 0 https://patch-diff.githubusercontent.com/scijava/script-editor/projects
Wiki https://patch-diff.githubusercontent.com/scijava/script-editor/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/scijava/script-editor/security
Please reload this pagehttps://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files
Insights https://patch-diff.githubusercontent.com/scijava/script-editor/pulse
Code https://patch-diff.githubusercontent.com/scijava/script-editor
Issues https://patch-diff.githubusercontent.com/scijava/script-editor/issues
Pull requests https://patch-diff.githubusercontent.com/scijava/script-editor/pulls
Actions https://patch-diff.githubusercontent.com/scijava/script-editor/actions
Projects https://patch-diff.githubusercontent.com/scijava/script-editor/projects
Wiki https://patch-diff.githubusercontent.com/scijava/script-editor/wiki
Security https://patch-diff.githubusercontent.com/scijava/script-editor/security
Insights https://patch-diff.githubusercontent.com/scijava/script-editor/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fscijava%2Fscript-editor%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fscijava%2Fscript-editor%2Fissues%2Fnew%2Fchoose
acardonahttps://patch-diff.githubusercontent.com/acardona
scijava:masterhttps://patch-diff.githubusercontent.com/scijava/script-editor/tree/master
acardona:autocompletionhttps://patch-diff.githubusercontent.com/acardona/script-editor/tree/autocompletion
Conversation 6 https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47
Commits 16 https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/commits
Checks 0 https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/checks
Files changed https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files
Please reload this pagehttps://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files
Autocompletion of imports, class names, and static fields and methods after a classname https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files#top
Show all changes 16 commits https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files
7507734 Prevent Script Editor window from being larger than the desktop. acardona Nov 12, 2020 https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/commits/7507734c711156b8428ba4c23f06f157301f449c
0a1b443 ClassUtil: inspect all jar files in search of all class names, acardona Nov 13, 2020 https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/commits/0a1b4436e0d1d19cc3460973940cc17da18198a8
80fd9dd Create new menu item "Source or javadoc for class or package..." which acardona Nov 14, 2020 https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/commits/80fd9dd7369fa3dce348527675bb7ab8a1fb4e96
5cf2a7a Ensure the correct java version is used, although the list acardona Nov 14, 2020 https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/commits/5cf2a7af418905cbf176f9d16a30507940b556e1
4583ccf ClassUtil: generalize static method findAllClasses so that it an be used acardona Nov 14, 2020 https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/commits/4583ccfecf7c3002f85c14966efcf1b4de8f9cac
3020432 If a classname doesn't have any URLS associated with it, then search acardona Nov 14, 2020 https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/commits/3020432a9ca54bc894a981a9ea5e5e6fb222e21f
d8b7d32 ClassUtil: search among the multiple words in the repository name acardona Nov 16, 2020 https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/commits/d8b7d3277852e43d5d71eb6aa2d9e6a39af62a53
e1b1f12 ClassUtil methods to pattern-match against package and class names. acardona Nov 19, 2020 https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/commits/e1b1f12d7b6f42829918a5853a6a2e5fef4df190
156d16b New class AutocompletionProvider to provide completions for class, pa… acardona Nov 19, 2020 https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/commits/156d16b809b66d712b2c179a6d2be9c401a685d7
c447129 Enable autocompletion. acardona Nov 19, 2020 https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/commits/c447129c04608155b930b1dd9932cb0901eb817e
0e69794 New package for autocompletion classes acardona Nov 20, 2020 https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/commits/0e697949b66d1b2a52a892b0fe6b989280266adc
e5ae00c New ClassUtil.findClassNamesContaining method, to enable matching acardona Nov 20, 2020 https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/commits/e5ae00c46ef52e2aae5b18876b02a8db6bff7d84
a34b8a0 When autocompleting "import " enable matching anywhere on the c… acardona Nov 20, 2020 https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/commits/a34b8a060edee420d0f9e5c645be548ebe7ebd27
b1b4c64 ClassUtil: handle empty strings for matching. acardona Nov 27, 2020 https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/commits/b1b4c6423c76dc8dfbdd8941cbd02eb527e138a6
4316bc7 Autocompletion: enable autocompleting "from" and "import". acardona Nov 27, 2020 https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/commits/4316bc7ae67915cf8756b2a5c77e65746136ec7b
167ab74 Autocompletion for python (jython) using the LanguageSupportService. acardona Nov 28, 2020 https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/commits/167ab74ee7a53bff563d5ead8e858d399fa7ff6b
Clear filters https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files
Please reload this pagehttps://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files
Please reload this pagehttps://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files
EditorPane.java https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files#diff-b4f30fa79d4dabc5fcb4d627b8872fff53e302622d63035910e7a4b71a2d422a
TextEditor.java https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files#diff-c124a314c5d80af2372e1450674185860825c724991ad0a625472ad409fe7487
ClassUtil.java https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files#diff-2044fcf8da76080f42079cfd9cb7590aa3e4f75114676c615869a6fcd961aa96
ImportCompletion.java https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files#diff-4b6bb2642a68fe581cf95664a615bd0605a6a225a74c610c0fc782c124d25e2e
ImportFormat.java https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files#diff-ebf09e415dae90ced48e386c3fa1f03630285419b032af643d7bd3841684c055
JythonAutoCompletion.java https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files#diff-3db43059177304156e9011feb3ea00f2ad985507dba453b0c031b4a25be40972
JythonAutocompletionProvider.java https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files#diff-abe7313752411f7d46de9be16fe6907f34db52216a321443289a54a5df20e424
JythonImportFormat.java https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files#diff-602d032ad584b4e6fbddf15dc7abfdab49d401a2bbe0b22ac2f2821f0b4dee8b
JythonLanguageSupportPlugin.java https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files#diff-9574c04ea1857ba1e8669e169966056df47369833e300271e5b559c0734aeb3d
src/main/java/org/scijava/ui/swing/script/EditorPane.javahttps://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files#diff-b4f30fa79d4dabc5fcb4d627b8872fff53e302622d63035910e7a4b71a2d422a
View file https://patch-diff.githubusercontent.com/acardona/script-editor/blob/167ab74ee7a53bff563d5ead8e858d399fa7ff6b/src/main/java/org/scijava/ui/swing/script/EditorPane.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files#diff-b4f30fa79d4dabc5fcb4d627b8872fff53e302622d63035910e7a4b71a2d422a
https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files#diff-b4f30fa79d4dabc5fcb4d627b8872fff53e302622d63035910e7a4b71a2d422a
https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files#diff-b4f30fa79d4dabc5fcb4d627b8872fff53e302622d63035910e7a4b71a2d422a
https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files#diff-b4f30fa79d4dabc5fcb4d627b8872fff53e302622d63035910e7a4b71a2d422a
src/main/java/org/scijava/ui/swing/script/TextEditor.javahttps://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files#diff-c124a314c5d80af2372e1450674185860825c724991ad0a625472ad409fe7487
View file https://patch-diff.githubusercontent.com/acardona/script-editor/blob/167ab74ee7a53bff563d5ead8e858d399fa7ff6b/src/main/java/org/scijava/ui/swing/script/TextEditor.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files#diff-c124a314c5d80af2372e1450674185860825c724991ad0a625472ad409fe7487
https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files#diff-c124a314c5d80af2372e1450674185860825c724991ad0a625472ad409fe7487
https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files#diff-c124a314c5d80af2372e1450674185860825c724991ad0a625472ad409fe7487
https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files#diff-c124a314c5d80af2372e1450674185860825c724991ad0a625472ad409fe7487
https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files#diff-c124a314c5d80af2372e1450674185860825c724991ad0a625472ad409fe7487
https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files#diff-c124a314c5d80af2372e1450674185860825c724991ad0a625472ad409fe7487
https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files#diff-c124a314c5d80af2372e1450674185860825c724991ad0a625472ad409fe7487
https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files#diff-c124a314c5d80af2372e1450674185860825c724991ad0a625472ad409fe7487
https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files#diff-c124a314c5d80af2372e1450674185860825c724991ad0a625472ad409fe7487
https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files#diff-c124a314c5d80af2372e1450674185860825c724991ad0a625472ad409fe7487
https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files#diff-c124a314c5d80af2372e1450674185860825c724991ad0a625472ad409fe7487
https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files#diff-c124a314c5d80af2372e1450674185860825c724991ad0a625472ad409fe7487
https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files#diff-c124a314c5d80af2372e1450674185860825c724991ad0a625472ad409fe7487
https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files#diff-c124a314c5d80af2372e1450674185860825c724991ad0a625472ad409fe7487
https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files#diff-c124a314c5d80af2372e1450674185860825c724991ad0a625472ad409fe7487
https://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files#diff-c124a314c5d80af2372e1450674185860825c724991ad0a625472ad409fe7487
Please reload this pagehttps://patch-diff.githubusercontent.com/scijava/script-editor/pull/47/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.