FineLineIDE


Closed Thread
Results 1 to 40 of 188

Thread: FineLineIDE

Hybrid View

  1. #1
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default Re: FineLineIDE

    Quote Originally Posted by mackrackit View Post
    The INCLUDE command is part of PBP, the text editor used to write the code does not have anything to do with it.
    Correct; for compiling PBP finds the include files.

    Gusse may be opening the include files with a click in the explorer window.
    The next version of FL will also do an explorer open if the full path is provided in the include.

    I'm not sure how to code for a partial path as it could be anywhere on the hard drive and doing a search could take several minutes in some cases unless their is a way to limit it.


    Norm

  2. #2
    Join Date
    Dec 2007
    Location
    Finland
    Posts
    191


    Did you find this post helpful? Yes | No

    Default Re: FineLineIDE

    Quote Originally Posted by Normnet View Post
    I'm not sure how to code for a partial path as it could be anywhere on the hard drive and doing a search could take several minutes in some cases unless their is a way to limit it.
    Relative path should be always linked to main pbp-file folder (at least this is how it is done in MicroCode Studio), so that should fix the location in HD.

    -Gusse-

  3. #3
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default Re: FineLineIDE

    Quote Originally Posted by Gusse View Post
    Relative path should be always linked to main pbp-file folder (at least this is how it is done in MicroCode Studio), so that should fix the location in HD.

    -Gusse-
    You are saying if the include isn't in the main pbp folder it is within one of it's sub folders?


    Norm

  4. #4
    Join Date
    Dec 2007
    Location
    Finland
    Posts
    191


    Did you find this post helpful? Yes | No

    Default Re: FineLineIDE

    Quote Originally Posted by Normnet View Post
    You are saying if the include isn't in the main pbp folder it is within one of it's sub folders?
    It doesn't have to be a sub folder in main pbp-file folder. It can be any folder and path is point to it (same like in command prompt, i.e: "cd .." goes 1 level up for current folder).

    Example:
    If main pbp-file is located
    Code:
    c:\pic\pbp\prog\
    and include files
    Code:
    c:\pic\pbp\incl\
    In MCS I can do
    Code:
    include "..\incl\[filename_to_be_included].pbp"
    so starting folder is "c:\pic\pbp\prog" and then it goes one level up "c:\pic\pbp" and then to "incl"-folder, which is parallel to prog.

    -Gusse-
    Last edited by Gusse; - 28th August 2012 at 15:59.

  5. #5
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default Re: FineLineIDE

    Quote Originally Posted by Gusse View Post
    It doesn't have to be a sub folder in main pbp-file folder. It can be any folder and path is point to it (same like in command prompt, i.e: "cd .." goes 1 level up for current folder).

    so starting folder is "c:\pic\pbp\prog" and then it goes one level up "c:\pic\pbp" and then to "incl"-folder, which is parallel to prog.

    -Gusse-
    So FL should look in main pbp file folder and all of its sub folders and all up clicks to root(C:\)?


    Norm

  6. #6
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: FineLineIDE

    I think PBP only looks in the directory the code is in and the directory PBP is in. Any other location needs to have the path to the include in the code. So look in the two default locations and parse the INCLUDE line for the other possible locations???
    Dave
    Always wear safety glasses while programming.

  7. #7
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default Re: FineLineIDE

    Quote Originally Posted by Gusse View Post
    It doesn't have to be a sub folder in main pbp-file folder. It can be any folder and path is point to it (same like in command prompt, i.e: "cd .." goes 1 level up for current folder).
    so starting folder is "c:\pic\pbp\prog" and then it goes one level up "c:\pic\pbp" and then to "incl"-folder, which is parallel to prog.

    -Gusse-
    Gusse

    Problem: Opening an include in FL explorer which is located in a parallel directory.
    I have written a include open routine which does what you have requested in FineLineIDE.

    In tests with MCS however I am unable to duplicate opening an .inc in: M:\PBP3\ABC INCLUDE
    with the .pbp program in: M:\PBP3\ABC PROGRAM
    when called out as: Include "...\ABC INCLUDE\TEST1.INC"

    I am using Microcode Studio 5.0.0.0 and compiler PBPX 3.0.1.4
    What versions are you using?

    I can email you a test version of FL with the new include routine if you PM me your email address.

    Norm
    Last edited by Normnet; - 9th September 2012 at 18:25.

  8. #8
    Join Date
    Dec 2007
    Location
    Finland
    Posts
    191


    Did you find this post helpful? Yes | No

    Default Re: FineLineIDE

    Hi Horm,

    There are still couple of issues that I noticed in brief trial with v2.0.0.1 BETA.
    ------------------------------------------------------------------------------
    If you re-open FL, then it cannot compile file. (require that file has been once openned with FL earlier). Same issue that I noticed also earlier.
    "Invalid Include Path: "..\incl\PIC18F4520_config.pbp" Aborting Compile"

    If you open same file again (with Ctrl+O or with button) then it will compile the file.
    ------------------------------------------------------------------------------
    Include files are accessible, but when you try to close them then FL says (pop-up):
    "FL THREAD ERROR 0" and there is OK button. Once pressed OK, another pop-up will come up with same error again. And again and again... Only by pressing "Close Tab" button again error message will disappear.

    At least I can repeat this issue when I open all include files and close FL, then re-open FL and try to close include tabs.
    ------------------------------------------------------------------------------

    Used test file: http://www.mediafire.com/?yty070ruqh4ycyh

    BR,
    -Gusse-
    Last edited by Gusse; - 12th September 2012 at 06:50.

  9. #9
    Join Date
    Dec 2007
    Location
    Finland
    Posts
    191


    Did you find this post helpful? Yes | No

    Default Re: FineLineIDE

    v2.0.0.2 BETA seems to work OK

    There is still an issue about saving & closing tabs. If you open and close tab without leaving tab and content is untouched, FL will not prompt "Save Changes" question. But if you change to other tab and return and then close without modifying tab content, FL always ask if you would like to save changes. I think this is minor problem but fixable.

    Good job Norm!

    BR,
    -Gusse-

    EDIT: If you click "***CURRENT LINE***" in exlorer view (includes), it tries to open same name include file without success. Could it be changed/removed?
    Last edited by Gusse; - 13th September 2012 at 19:10.

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts