Text Search
The text search script gives you an alternatvie interface to performing a text search from within IDEA. The script allows you to select up to 10 different search terms (you can use the wildcards), it also allows you decide if the search is case sensitve or not and the type of search, i.e.
- Read more about Text Search
- 10 comments
- Log in or register to post comments
Snippets
- Read more about Snippets
- Log in or register to post comments
Get most recent file from a directory
I found this snippet by doing a google search and adapting it to IDEA. It will return the name of the most recently saved file from a directory. With a bit of change it should also find the most recently modified file from a directory.
- Read more about Get most recent file from a directory
- Log in or register to post comments
Create a delay
This little snippet will allow you to delay your code by x number of seconds. Just use the call wait(x) where x is the number of seconds you want the script to pause.
- Read more about Create a delay
- Log in or register to post comments
CStr()
The CStr() will convert numeric and date values to a string format.
- Read more about CStr()
- Log in or register to post comments
CSng()
This function will change a number into a single type. A single type has 4 decimals so any decimals larger than 4 will be rounded to 4.
- Read more about CSng()
- Log in or register to post comments
CLng()
This functions changes a number into a long type.
- Read more about CLng()
- Log in or register to post comments
CInt()
Converts a numeric expression into one of an integer data type. In the example below when we changed a double into an integer the fractional portion is rounded.
- Read more about CInt()
- Log in or register to post comments
CDbl()
This conversion will change a number into a number of type double.
- Read more about CDbl()
- Log in or register to post comments
CDate()
This function converst a valid date or time expression that is currently a string into a date type. The expression can contain only the date, only the time or both.
- Read more about CDate()
- Log in or register to post comments