facebook

Regex Searches

  1. MyEclipse IDE
  2.  > 
  3. Feature Requests
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #229820 Reply

    As-is, regex searches only apply regular expressions to the search terms. I’d like to have it also apply to the replacement values, when applicable. For instance, if I search for “\nString” and replace it with “\n\tprivate String” in the following block, it doesn’t work as expected, right now.

    String id;
    String name;

    Currently, replace will produce this…

    ntprivate String id;
    ntprivate String name;

    #229826 Reply

    Riyad Kalla
    Member

    Search/Find/Find&Replace are all Eclipse functionalities, this should be filed with them.

    #229841 Reply

    For those interested in this feature, please register with Eclipse’s Bugzilla and vote!!!

    https://bugs.eclipse.org/bugs/show_bug.cgi?id=52338

    #328520 Reply

    markos_dp_ua
    Member

    I lost abillity to search by regexp in MyEclipse “Search” dialog.
    How can I retrieve search with regexps?

    #328521 Reply

    support-joy
    Member

    markos_dp_ua,

    Please provide below details to help me investigate further –
    1. Open MyEclipse IDE, from menu options click on MyEclipse > Installation Summary > Installation Details > [Copy to Clipboard] and paste the same here
    2. Attach a screenshot to help me get a visual
    3. When you use Ctrl+F, does that open the Find/Replace wizard? Do you see “Regular expressions” under “Options”?
    4. Could you elaborate what are you trying to search using regular expressions?
    5. Clear your .log file located at [your workspace dir]/.metadata/.log, replicate the issue and attach file here

    I would recommend you do the following – open MyEclipse IDE, from menu options click on Window > Preferences > General > Search and click on [Restore Defaults], [Apply] and [OK].

    Let me know how this works for you?

    #328604 Reply

    markos_dp_ua
    Member

    1.

    *** Date:
    31 Июль 2012 г. 10:02:58 EEST

    *** System properties:
    OS=Linux
    OS version=3.2.0
    OS arch=amd64
    Profile arch=x86_64
    Window system=gtk
    Java version=1.6.0_13
    Workspace=file:/home/markos/Workspaces/MyEclipse 10/
    VM Args=-Xmx512m
    -XX:MaxPermSize=256m
    -XX:ReservedCodeCacheSize=64m
    -Dosgi.nls.warnings=ignore
    -jar
    /home/markos/MyEclipse/MyEclipse 10//../Common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar

    *** Subscription information
    Product Id: E2MY (MyEclipse Standard Subscription)
    License version: 2.1
    Full Maintenance Included
    Subscription expiration date (YYYYMMDD): 20130103
    Number of users: 4

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 10.5
    Build id: 10.5-20120615

    Blueprint: MyEclipse 10

    com.genuitec.myeclipse.database – 10.5.0.me201206141911
    com.genuitec.myeclipse.desktop – 10.5.0.me201206141911
    com.genuitec.myeclipse.editor – 10.5.0.me201206141911
    com.genuitec.myeclipse.enterprise.workbench – 10.5.0.me201206141911
    com.genuitec.myeclipse.geronimo – 10.5.0.me201206141911
    com.genuitec.myeclipse.glassfish – 10.5.0.me201206141911
    com.genuitec.myeclipse.icefaces.feature – 10.5.0.me201206141911
    com.genuitec.myeclipse.imageeditor – 10.5.0.me201206141911
    com.genuitec.myeclipse.jboss – 10.5.0.me201206141911
    com.genuitec.myeclipse.jetty – 10.5.0.me201206141911
    com.genuitec.myeclipse.jonas – 10.5.0.me201206141911
    com.genuitec.myeclipse.jrun – 10.5.0.me201206141911
    com.genuitec.myeclipse.jsf – 10.5.0.me201206141911
    com.genuitec.myeclipse.matisse – 10.5.0.me201206141911
    com.genuitec.myeclipse.maven – 10.5.0.me201206141911
    com.genuitec.myeclipse.oracle – 10.5.0.me201206141911
    com.genuitec.myeclipse.orion – 10.5.0.me201206141911
    com.genuitec.myeclipse.persistence – 10.5.0.me201206141911
    com.genuitec.myeclipse.pulse – 10.5.0.me201206141911
    com.genuitec.myeclipse.reports – 10.5.0.me201206141911
    com.genuitec.myeclipse.resin – 10.5.0.me201206141911
    com.genuitec.myeclipse.struts – 10.5.0.me201206141911
    com.genuitec.myeclipse.sun – 10.5.0.me201206141911
    com.genuitec.myeclipse.tomcat – 10.5.0.me201206141911
    com.genuitec.myeclipse.uml2 – 10.5.0.me201206141911
    com.genuitec.myeclipse.visualvm – 10.5.0.me201206141911
    com.genuitec.myeclipse.visualvm.server – 10.5.0.me201206141911
    com.genuitec.myeclipse.weblogic – 10.5.0.me201206141911
    com.genuitec.myeclipse.websphere – 10.5.0.me201206141911
    com.genuitec.myeclipse.ws – 10.5.0.me201206141911
    org.eclipse.birt – 2.6.1.me201206141911
    org.eclipse.datatools.connectivity.feature – 1.9.0.me201206141911
    org.eclipse.datatools.enablement.feature – 1.9.0.me201206141911
    org.eclipse.datatools.sqldevtools.feature – 1.9.0.me201206141911
    org.eclipse.jpt.jpa.feature – 3.0.0.me201206141911
    org.eclipse.jpt.jpadiagrameditor.feature – 1.0.0.me201206141911
    org.eclipse.jst.common.fproj.enablement.jdt – 3.3.0.me201206141911
    org.eclipse.jst.enterprise_ui.feature – 3.3.0.me201206141911
    org.eclipse.jst.server_adapters.ext.feature – 3.3.0.me201206141911
    org.eclipse.jst.server_adapters.feature – 3.2.100.me201206141911
    org.eclipse.jst.server_ui.feature – 3.3.0.me201206141911
    org.eclipse.jst.ws.axis2tools.feature – 1.1.200.me201206141911
    org.eclipse.m2e.feature – 1.0.0.me201206141911
    org.eclipse.wst.common.fproj – 3.3.0.me201206141911
    org.eclipse.wst.server_adapters.feature – 3.2.100.me201206141911
    org.springframework.ide.eclipse.feature – 2.9.1.me201206141911

    TargetProcess – 2.23.2.201203161101
    com.ess.regexutil – 1.2.4
    org.eclipse.cvs – 1.3.100.v20110520-0800-7B78FHl9VF7BD7KBM4GP9C
    org.eclipse.equinox.p2.core.feature – 1.0.1.v20110906-1605-8290FZ9FVKHVRKtmx3fpNuo02129
    org.eclipse.equinox.p2.extras.feature – 1.0.1.v20110906-1605-7A4FD4DiVOMap8cHSc6vPuny4gqO
    org.eclipse.equinox.p2.rcp.feature – 1.0.1.v20110906-1605-782EqBqNKGVkiV-PUsgz-uny4gqO
    org.eclipse.equinox.p2.user.ui – 2.1.2.R37x_v20110815-1155-6-Bk8pYWZz0qUTX5I15GZWwbXkrl
    org.eclipse.help – 1.3.0.v20110530-0844-7i7uFFmFFl8nvqbDpEqTvx
    org.eclipse.jdt – 3.7.2.v20120120-1414-7z8gFcuFMP7BW5XTz0jLTnz0l9B1
    org.eclipse.jsf.feature – 3.3.0.me201206141911
    org.eclipse.pde – 3.7.2.v20120120-1420-7b7rFUOFEx2Xnqafnpz0E–0
    org.eclipse.platform – 3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q
    org.eclipse.rcp – 3.7.2.v20120120-1424-9DB5FmnFq5JCf1UA38R-kz0S0272
    org.eclipse.team.svn – 0.7.9.I20120520-1700
    org.infinitest.eclipse.feature – 5.1.103
    org.polarion.eclipse.team.svn.connector – 2.3.0.I20120520-1700
    org.polarion.eclipse.team.svn.connector.source – 2.3.0.I20120520-1700
    org.polarion.eclipse.team.svn.connector.sources – 2.3.0.I20120520-1700

    Eclipse startup command=-os
    linux
    -ws
    gtk
    -arch
    x86_64
    -showsplash
    -launcher
    /home/markos/MyEclipse/MyEclipse 10/myeclipse
    -name
    Myeclipse
    –launcher.library
    /home/markos/MyEclipse/MyEclipse 10//../Common/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so
    -startup
    /home/markos/MyEclipse/MyEclipse 10//../Common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    –launcher.overrideVmargs
    -exitdata
    1019800a
    -install
    /home/markos/MyEclipse/MyEclipse 10
    -configuration
    /home/markos/MyEclipse/MyEclipse 10/configuration
    -vm
    /home/markos/MyEclipse/Common/binary/com.sun.java.jdk.linux.x86_64_1.6.0.013/bin/java

    2-3. As You can see on the screenshot, the “Find/Replace” wizard desn’t contain any checkboxex for regexps.
    4. I’m trying to search various fragments of Java code.
    5. Nothing changed.

    Your advice about “Window > Preferences > General > Search ” doesn’t work.

    Attachments:
    You must be logged in to view attached files.
    #328606 Reply

    markos_dp_ua
    Member

    The issue is solved.
    Checkboxes was hidden. When I changed size of search window they became visible.
    Could You add scroll or size restrictions fo this dialog?

    #328608 Reply

    support-joy
    Member

    markos_dp_ua,

    Good to hear you are all set after you resized your search window. I have escalated your query about adding scroll or size restriction on this dialog to dev team member. They would get back to you.

    Sorry for the inconvenience.

    #328610 Reply

    Brian Fernandes
    Moderator

    markos,

    I’m afraid the dialog in question here is not something the MyEclipse team can control, this is likely an issue with Eclipse on your particular windowing system or at your DPI settings.

    Does the issue appear each time you open the search dialog or does it remain fixed once the dialog is resized?

    #328640 Reply

    markos_dp_ua
    Member

    @Support-Brian wrote:

    markos,

    I’m afraid the dialog in question here is not something the MyEclipse team can control, this is likely an issue with Eclipse on your particular windowing system or at your DPI settings.

    Does the issue appear each time you open the search dialog or does it remain fixed once the dialog is resized?

    Changed size is saved.
    Its good solution for me. Thank You! 🙂

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: Regex Searches

You must be logged in to post in the forum log in