Author Topic: Search Result Filename Short/Relative Path  (Read 437 times)

joecar

  • Senior Community Member
  • Posts: 278
  • Hero Points: 9
  • engineer/gearhead
Search Result Filename Short/Relative Path
« on: February 18, 2020, 06:03:05 pm »
Is there a way to allow file pathnames to be displayed relative to project in search results...?
( i.e. an option for absolute or relative file pathnames )
Or relative to some place in the project tree.
e.g.
Code: [Select]
Find all "RXSER", Regular expression (Perl), "<Workspace>", "*.*"
File C:\Users\jc\Workspace\RTL8720_WIFI_ADAPTER\rtl8720_wifi_adapter.git\component\common\api\at_cmd\atcmd_wifi.c
 Function print_wlan_help(void *arg) : 2342
  2362 22:    printf("\n\r   # RXSER");
 Function fRXSER(void *arg) : 3692
  3692  7:void fRXSER(void *arg)
  3697 14:    printf("[RXSER]: _AT_WLAN_IPERF_TEST_SERVER_RX_\n\r");
  3701 22:        printf("\n\r[RXSER] Usage: RXSER=[server,-p #]\n");
---------:
  3787  7:    {"RXSER",fRXSER, {NULL, NULL}},
Total found: 7     Matching files: 1     Total files searched: 2232

« Last Edit: February 18, 2020, 06:05:13 pm by joecar »

JimmieC

  • Senior Community Member
  • Posts: 466
  • Hero Points: 16
Re: Search Result Filename Short/Relative Path
« Reply #1 on: February 27, 2020, 09:06:15 pm »

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 5714
  • Hero Points: 457
Re: Search Result Filename Short/Relative Path
« Reply #2 on: February 27, 2020, 10:53:01 pm »
Showing the name before the path would work for more situations and wouldn't be effected by closing the workspace.