<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — List CALL statements]]></title>
	<link rel="self" href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=271&amp;type=atom" />
	<updated>2013-11-26T18:54:07Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.approximatrix.com/viewtopic.php?id=271</id>
		<entry>
			<title type="html"><![CDATA[Re: List CALL statements]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1083#p1083" />
			<content type="html"><![CDATA[<p>John,</p><p>This feature is on the todo list, and some of the necessary code already exists.&nbsp; The problem is that this search is simple in only specific circumstances.&nbsp; If you&#039;re programming using Fortran 90+ modules, this search becomes drastically more complicated quickly.&nbsp; Consider for a moment a module <em>mod1</em> that contains a subroutine named <em>sub1</em>.&nbsp; To find all references to this particular <em>sub1</em>, you first have to find all subprogram units that have <em>use</em>d <em>mod1</em>.&nbsp; You then also need to make sure that it hasn&#039;t limited the use of <em>mod1</em> via an <em>only:</em> specification.&nbsp; Additionally, it&#039;s perfectly valid for <em>mod2</em> to contain a subroutine also named <em>sub1</em>.&nbsp; However, in your search, you wouldn&#039;t want to include that result as it isn&#039;t the <em>sub1</em> you&#039;re looking for.&nbsp; </p><p>The problem is somewhat complicated though obviously solvable.&nbsp; The autocomplete function does solve the issue for the current position in code right now, for example.&nbsp; It should only report visible (within the scope) functions, subroutines, and modules as suggestions.&nbsp; </p><p>There is some initial work towards exactly what you&#039;re suggesting.&nbsp; However, it was sidetracked by some other more important projects (the debugger, mainly).&nbsp; I do plan on getting back to it now.&nbsp; No promises on a delivery time frame, though.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2013-11-26T18:54:07Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1083#p1083</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[List CALL statements]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1080#p1080" />
			<content type="html"><![CDATA[<p>By using the &#039;Text Search&#039; icon to switch to the search panel, one can search for a text string anywhere in the current project, obtain a list of the source files containing it, then double click one of them and open it with teh cursor on the searched-for string.</p><p>I&#039;d very much like to see this expanded to search for the code that calls a particular subroutine.&nbsp; I envisage right clicking (or double-clicking) on a subroutine or function title (at the top of that sub-program), or selecting a menu entry obtained from a right click anywhere inside the routine, to switch to the text search panel with a list of all instances where that sub-program is called or invoked.</p><p>It sounds not too hard to implement and it would be a nice addition.<br />--- <br />John</p>]]></content>
			<author>
				<name><![CDATA[JohnWasilewski]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=102</uri>
			</author>
			<updated>2013-11-25T18:19:28Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1080#p1080</id>
		</entry>
</feed>
