search and replace

search and replace - replacing multiple words - Сообщения

#1 Опубликовано: 20.01.2018 00:59:01
smathfan1

smathfan1

3 сообщений из 9 понравились пользователям.

Группа: User

Hello friends. Is there a search/replace function in sMath Studio? Sometimes you decide to change a variable name from x to x1, for example. If there is a “search, replace all”, then you don’t have to do it one by one and it will save a lot of time.
#2 Опубликовано: 20.01.2018 04:37:36
Davide Carpi

Davide Carpi

1416 сообщений из 2873 понравились пользователям.

Группа: Moderator

In a region, you can use the F8 key an you'll be able to rename all local variables/functions at once.

Globally, you can do it with the Text Region Utilities plugin.

2018-01-20 08_36_27-SMath Studio - [Page1_].png
2018-01-20 08_36_54-SMath Studio - [Page1_].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 пользователям понравился этот пост
Andrey Ivashov 20.01.2018 10:13:00
#3 Опубликовано: 25.01.2018 02:19:50
smathfan1

smathfan1

3 сообщений из 9 понравились пользователям.

Группа: User

Hello Davide,
Thank you very much for your help. I downloaded 2 files: TextRegionUtilities.csproj and TextRegionUtilities.sln. How do I install them in sMath? And how do I use them to “replace all”?
Thank you again friend.
#4 Опубликовано: 25.01.2018 06:31:48
Davide Carpi

Davide Carpi

1416 сообщений из 2873 понравились пользователям.

Группа: Moderator

In your Smath Studio, go to: Tools > Plugins... > [switch the top-right button: Local Storage > Online Gallery] and search the plugin, then double click it or click on the install button, that's all
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#5 Опубликовано: 27.02.2018 07:52:02
oftheair

oftheair

0 сообщений из 5 понравились пользователям.

Группа: User

Цитата


In your Smath Studio, go to: Tools > Plugins... > [switch the top-right button: Local Storage > Online Gallery] and search the plugin, then double click it or click on the install button, that's all Good



Dear mr. Carpi

When I have reached the Online Gallery according your instructions the notebook freezes completely. Only the cursor can be moved. A lot of windows can be opened but nothing can be executed. The notebook can only be switched off by swithing off the power. (Pushing the on/off switch during 5 seconds.)

SMathStudiodesktop.099.6622
Lenovo Ideapad 500
Linux Mint 18 Cinnamon


Best regards,
oftheair
#6 Опубликовано: 27.02.2018 10:51:21
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

The F8 method works top/bottom within program, but fails partially in many more instances,
just follow/watch what has been changed/replaced ... as you may have to do individually.
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений