I had to quickly remove single line comments from an Android project in Eclipse. I could not find any built in feature in Eclipse to do that. So I resorted to a simple regular expression:

(//[^\n]*)

This simple regex selects all the strings that begin with “//” and end with a new line. So all you have to do is use it in the find and replace option for a file or to apply to the whole project or multiple files do Search -> File. Also, make sure to select the “regular expression” check box.

This is something I did very quickly… so be careful since it might pick up some urls as well… like anything after the “//” part in “http://mysite.com/page.php”.

Quick and easy way to remove all single line (//) comments in Eclipse

14 thoughts on “Quick and easy way to remove all single line (//) comments in Eclipse

  • June 17, 2013 at 3:19 pm
    Permalink

    Thank you so much. really fast and helpfull

  • December 5, 2016 at 12:49 am
    Permalink

    thank you.

    i am change regular expression.

    ([^:]//[^\n]*)

    it’s pass “http://…”

  • Pingback:buy cheap rifaximin purchase uk

  • Pingback:buy cheap xifaxan generic no prescription

  • Pingback:cheapest buy staxyn usa price

  • Pingback:purchase avodart uk where buy

  • Pingback:cheapest buy dutasteride cost at costco

  • Pingback:buy flexeril cyclobenzaprine generic medications

  • Pingback:purchase gabapentin purchase usa

  • Pingback:buying fildena australia online generic

  • Pingback:buy cheap itraconazole buy online canada

  • Pingback:kamagra kanada online lékárna

  • Pingback:puis-je obtenir kamagra sans ordonnance

  • August 17, 2025 at 2:21 pm
    Permalink

    Getting it episode, like a nymph would should
    So, how does Tencent’s AI benchmark work? Prime, an AI is foreordained a true dial to account from a catalogue of as surfeit 1,800 challenges, from structure develop visualisations and ??????? ????????????? ???????????? apps to making interactive mini-games.

    On one prompting the AI generates the jus civile ‘laic law’, ArtifactsBench gets to work. It automatically builds and runs the jus gentium ‘pandemic law’ in a coffer and sandboxed environment.

    To subsidy how the note behaves, it captures a series of screenshots upwards time. This allows it to check seeking things like animations, make a stand for changes after a button click, and other unmistakeable consumer feedback.

    Conclusively, it hands terminated all this evince – the congenital importune, the AI’s pandect, and the screenshots – to a Multimodal LLM (MLLM), to feigning as a judge.

    This MLLM deem isn’t light-complexioned giving a trivial ?????? and as contrasted with uses a all-inclusive, per-task checklist to forte the conclude across ten fall metrics. Scoring includes functionality, purchaser end, and the hundreds of thousands with aesthetic quality. This ensures the scoring is light-complexioned, in be consistent, and thorough.

    The weighty doubtlessly is, does this automated upon literatim obscure vigilant taste? The results tender it does.

    When the rankings from ArtifactsBench were compared to WebDev Arena, the gold-standard ???????? crease where existent humans dispose of upon on the most fitting AI creations, they matched up with a 94.4% consistency. This is a elephantine scuttle from older automated benchmarks, which not managed in all directions from 69.4% consistency.

    On top of this, the framework’s judgments showed in de trop of 90% unanimity with pro kindly developers.
    https://www.artificialintelligence-news.com/

Leave a Reply

Your email address will not be published. Required fields are marked *

*