<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>MCUXpresso General中的主题 Re: autocomplete doesn't always work</title>
    <link>https://community.nxp.com/t5/MCUXpresso-General/autocomplete-doesn-t-always-work/m-p/869579#M1503</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Felipe,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Thanks for the reply. This issue happens across saves of the projects and builds. Successful builds!&amp;nbsp; One thing I'm embarrassed to not have noticed before is that this seems to happen when I add variables or #defines to files that are in a library within my workspace.&amp;nbsp;&amp;nbsp; Since my original post two #defines from my library are miraculously visible to autocomplete in my project.&amp;nbsp; However, the example from my post remains an issue despite building without error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Andrei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Mar 2019 14:24:22 GMT</pubDate>
    <dc:creator>andreiszeghy</dc:creator>
    <dc:date>2019-03-21T14:24:22Z</dc:date>
    <item>
      <title>autocomplete doesn't always work</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/autocomplete-doesn-t-always-work/m-p/869577#M1501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; This problem comes and goes, seems to fix itself under unknown circumstances, and seems to be getting more frequent the more code I put in this project.&amp;nbsp; It happens if I add a new define or structure outside of main.&amp;nbsp; For an example here is my struct definition of which I have added the last variable "tailLengthInTicks".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="MCUX2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62190i68E506742C196682/image-size/large?v=v2&amp;amp;px=999" role="button" title="MCUX2.png" alt="MCUX2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Notice the color (black) when I try and use it without autocomplete:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="MCUX1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62862i7BEF9D20826D62AC/image-size/large?v=v2&amp;amp;px=999" role="button" title="MCUX1.png" alt="MCUX1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I try and use autocomplete the new variable is not an option:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="MCUX3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62905iC30F0405F6AB87D3/image-size/large?v=v2&amp;amp;px=999" role="button" title="MCUX3.png" alt="MCUX3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Yet, this code happily complies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the future sometime, this will no longer be an issue as it will resolve itself.&amp;nbsp; It's just a pain until I accidentally do something and the issue goes away.&amp;nbsp; This issue persists through saves and complies.&amp;nbsp; Anyone have any idea whats going on?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts are much appreciated,&lt;/P&gt;&lt;P&gt;Andrei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Mar 2019 15:03:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/autocomplete-doesn-t-always-work/m-p/869577#M1501</guid>
      <dc:creator>andreiszeghy</dc:creator>
      <dc:date>2019-03-19T15:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: autocomplete doesn't always work</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/autocomplete-doesn-t-always-work/m-p/869578#M1502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;Hi Andrei,&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;What you need to do in order to see the new variable of the struct when you use autocomplete is building the project.&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;By doing this the IDE can know there is a new variable that needs to be shown when you execute&amp;nbsp; the autocompletion command.&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Felipe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2019 23:42:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/autocomplete-doesn-t-always-work/m-p/869578#M1502</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2019-03-20T23:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: autocomplete doesn't always work</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/autocomplete-doesn-t-always-work/m-p/869579#M1503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Felipe,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Thanks for the reply. This issue happens across saves of the projects and builds. Successful builds!&amp;nbsp; One thing I'm embarrassed to not have noticed before is that this seems to happen when I add variables or #defines to files that are in a library within my workspace.&amp;nbsp;&amp;nbsp; Since my original post two #defines from my library are miraculously visible to autocomplete in my project.&amp;nbsp; However, the example from my post remains an issue despite building without error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Andrei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2019 14:24:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/autocomplete-doesn-t-always-work/m-p/869579#M1503</guid>
      <dc:creator>andreiszeghy</dc:creator>
      <dc:date>2019-03-21T14:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: autocomplete doesn't always work</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/autocomplete-doesn-t-always-work/m-p/869580#M1504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrei,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand that you do not present any building errors. However, you need to build the project once you have added the new variable of the struct. If you do this, you will now be able to see the variable when you try to autocomplete the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2019 22:56:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/autocomplete-doesn-t-always-work/m-p/869580#M1504</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2019-03-25T22:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: autocomplete doesn't always work</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/autocomplete-doesn-t-always-work/m-p/869581#M1505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Autocompletion function is provided by the built-in Indexer and does not use the compiler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To rebuild the index, right-click on the project and select Index-&amp;gt;Rebuild from the menu. This should allow your new variable to be recognised and thus allow it to be auto-completed. You do not need to rebuild the project. Note that rebuilding the project automatically runs the indexer...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2019 08:38:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/autocomplete-doesn-t-always-work/m-p/869581#M1505</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2019-03-26T08:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: autocomplete doesn't always work</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/autocomplete-doesn-t-always-work/m-p/869582#M1506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Excellent, that was it!&amp;nbsp; In hindsight, I wonder what I was doing that every so often this would be resolved.&amp;nbsp; Regardless, I now know how to fix the issue.&amp;nbsp; Thanks again.&lt;/P&gt;&lt;P&gt;Much appreciated,&lt;/P&gt;&lt;P&gt;Andrei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2019 12:12:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/autocomplete-doesn-t-always-work/m-p/869582#M1506</guid>
      <dc:creator>andreiszeghy</dc:creator>
      <dc:date>2019-03-26T12:12:41Z</dc:date>
    </item>
  </channel>
</rss>

