Skip to content
← Back to Community
How to see only .java files?
Profile icon
donnar

I am new to repl.it and learning java... but this question is about repl.it itself rather than java. I am working with several java files; the assignment is to add new classes to extend existing code. After I run the code the first time, the files area of repl.it shows ALL the files that are there. Is there a way to have it show ONLY the .java files?

Voters
Profile icon
LEEANNEKING
Profile icon
Kai_Justice
Comments
hotnewtop
Profile icon
LOLMcman

Is this affecting the outcome or something?

Profile icon
donnar

No, the thing works fine, but if I add a new file I have to scroll WAAAAY down to find it, and I have to ignore all the files that won't open except as a bunch of non-characters. Annoying more than anything. Why would I want to be able to open an executable file in the editing window? So why should it show up in the list of files I can select for editing?

Profile icon
SixBeeps

@donnar All repl.it does in terms of files is show the project's directory. If you were to compile your code on a local machine, those files would be there as well.

As for your project's files, it doesn't look like you have a lot. At least, not to consider annoying to scroll through (see attached img). Is there another Repl with more files?

To answer your original question, though, there is no file filter, nor is there a search.

image

Profile icon
davidwbandel

@SixBeeps this couldn't be less true. repl.it makes lots of calls in terms of which files to show. and even explicitly showing hidden files will not display .class files.

please don't spread misinformation about repl.it's inner workings. it completely obfuscates its unreliable behavior even further.

Profile icon
SixBeeps

@davidwbandel Gee wow thank you for telling me that this post I made 2 YEARS AGO is incorrect today!

In all seriousness, things have changed. It used to be that everything was shown by default. Now, some stuff is hidden in various places to make things less confusing to learners. Though, *.class files should be made visible through "Show hidden files" still:

image