scanner/parser cache not updated
If a file is under version control and after some local modifications is reverted to an older version, the scanner/parser cache has a newer timestamp and isn't updated. The result is that navigation goes to completely wrong places.
The cache should store the file's last modification time and reset itself if the actual time isn't identical.
The problem is that it is costly to check too often. Maybe a job could check all open files once a second, or so?
A temporary solution (that might be useful anyway) is to add a "Reset caches" command that users can give manually, whenever they see some out-of-sync behaviour.
The cache should store the file's last modification time and reset itself if the actual time isn't identical.
The problem is that it is costly to check too often. Maybe a job could check all open files once a second, or so?
A temporary solution (that might be useful anyway) is to add a "Reset caches" command that users can give manually, whenever they see some out-of-sync behaviour.
Leave a comment
on 2009-04-01 18:08 *
By Vlad Dumitrescu
Ok, I confess, I didn't check the code :-)
Maybe there is some caching of the time stamp in Eclipse? We didn't test to refresh the workspace, but restarted Eclipse.
Maybe there is some caching of the time stamp in Eclipse? We didn't test to refresh the workspace, but restarted Eclipse.
Updating tickets (#217, #218, #219, #220, #221, #223, #224, #229, #239, #240, #241, #244, #245, #261, #265, #274, #278, #280, #281, #283, #285, #298, #307, #318, #326, #331, #332, #335, #336, #338, #342, #348, #216, #237, #247, #255, #264, #277, #321, #328, #113, #114, #129, #131, #211, #222, #231, #242, #256, #323, #325, #150, #172, #252, #276, #291, #294, #316, #317, #339, #340, #343, #44, #195, #234, #249, #313, #314, #344, #228, #160, #173, #235, #238)
on 2009-04-09 13:24 *
By Vlad Dumitrescu
Milestone changed from backlog to 1.0
Milestone changed from backlog to 1.0
Updating tickets (#194, #200, #208, #217, #218, #220, #221, #224, #229, #241, #245, #252, #261, #265, #274, #276, #278, #280, #281, #283, #285, #291, #294, #298, #307, #316, #317, #318, #326, #331, #332, #335, #336, #338, #339, #342, #343, #348, #56, #69, #87, #106, #144, #166, #195, #198, #234, #255, #264, #277, #313, #328, #344, #123)
Updating tickets (#384, #389, #396, #64, #291, #352, #358, #393, #398, #399, #41, #46, #52, #57, #61, #83, #93, #100, #111, #115, #135, #145, #148, #149, #152, #155, #159, #163, #181, #182, #194, #200, #208, #217, #218, #220, #221, #224, #229, #261, #265, #274, #280, #281, #283, #285, #294, #298, #307, #316, #318, #331, #332, #335, #336, #338, #348)
Updating tickets (#134, #40, #100, #114, #120, #129, #131, #137, #156, #157, #179, #211, #222, #228, #231, #326, #379, #455, #459, #41, #46, #52, #61, #64, #76, #83, #93, #95, #111, #115, #119, #130, #135, #145, #149, #152, #155, #159, #163, #164, #168, #170, #172, #181, #194, #200, #208, #218, #220, #223, #224, #241, #245, #252, #261, #265, #274, #276, #280, #281, #283, #285, #294, #298, #316, #317, #318, #331, #332, #335, #336, #339, #351, #364, #366, #372, #375, #377, #380, #385, #394, #398, #405, #413, #415, #418, #422, #423, #424, #425, #429, #430, #436, #437, #440, #442, #443, #445, #446, #448, #449, #452, #454, #461, #464, #471, #44, #56, #69, #87, #98, #106, #144, #166, #195, #234, #255, #264, #313, #328, #359, #387, #421, #428, #439, #463, #123)
on 2010-04-18 19:53 *
By Vlad Dumitrescu
Updating tickets (#134, #40, #43, #80, #100, #113, #120, #129, #131, #137, #156, #157, #179, #211, #222, #228, #231, #242, #326, #349, #379, #451, #455, #459, #523, #524, #530, #41, #46, #52, #58, #61, #62, #64, #76, #83, #89, #93, #95, #115, #116, #119, #121, #130, #135, #145, #149, #152, #155, #159, #163, #164, #168, #169, #170, #175, #181, #182, #188, #194, #199, #200, #205, #208, #210, #218, #219, #223, #224, #235, #237, #238, #239, #240, #241, #244, #252, #261, #265, #274, #276, #281, #283, #285, #294, #298, #316, #317, #318, #331, #332, #335, #336, #339, #340, #351, #354, #358, #364, #366, #372, #374, #375, #377, #378, #380, #383, #392, #394, #398, #405, #407, #410, #411, #412, #413, #415, #418, #422, #423, #424, #425, #427, #429, #430, #432, #436, #437, #438, #440, #442, #443, #445, #446, #447, #448, #449, #450, #452, #454, #460, #464, #465, #470, #471, #474, #477, #478, #479, #483, #484, #492, #493, #494, #495, #497, #498, #499, #506, #508, #510, #511, #512, #514, #515, #516, #517, #519, #521, #536, #537, #540, #541, #542, #543, #545, #546, #42, #44, #53, #54, #56, #67, #68, #69, #84, #87, #98, #99, #101, #106, #117, #118, #132, #144, #160, #166, #195, #216, #234, #249, #255, #264, #313, #314, #321, #328, #359, #387, #416, #419, #421, #428, #439, #463, #485, #488, #489, #528, #59, #123, #433)
on 2010-05-31 12:10 *
By Vlad Dumitrescu
Updating tickets (#503, #529, #40, #43, #120, #157, #179, #211, #222, #228, #326, #379, #451, #459, #523, #524, #530, #559, #535, #176, #177, #386, #389, #409, #434, #473, #41, #52, #62, #64, #83, #93, #115, #135, #145, #149, #155, #159, #163, #181, #194, #199, #200, #208, #210, #219, #224, #261, #265, #274, #281, #283, #285, #294, #298, #316, #318, #331, #332, #335, #336, #358, #375, #383, #394, #398, #412, #413, #415, #422, #423, #424, #425, #432, #440, #442, #443, #446, #448, #449, #450, #452, #454, #460, #464, #471, #474, #479, #483, #484, #492, #497, #506, #510, #512, #516, #519, #521, #536, #537, #541, #543, #546, #555, #556, #561, #564, #565, #291, #431, #502, #520, #522, #532, #469, #42, #44, #69, #87, #132, #195, #234, #255, #264, #313, #387, #419, #421, #428, #439, #488, #489, #558, #123, #433, #80, #113, #137, #242, #349, #455, #46, #58, #61, #76, #89, #95, #116, #121, #152, #168, #169, #170, #175, #188, #205, #218, #223, #237, #240, #241, #252, #276, #317, #339, #340, #351, #354, #364, #366, #372, #374, #377, #380, #405, #407, #410, #429, #430, #436, #437, #438, #445, #447, #470, #477, #478, #493, #494, #495, #498, #499, #511, #545, #548, #562, #563, #373, #401, #475, #560, #53, #84, #98, #99, #106, #117, #118, #166, #216, #249, #314, #321, #328, #359, #463, #485, #134, #100, #156, #427, #554, #551, #552, #550, #553, #129, #131, #231, #114, #323, #325, #119, #130, #164, #182, #235, #238, #239, #244, #378, #392, #411, #465, #508, #514, #515, #517, #557, #54, #67, #68, #101, #144, #160, #416, #528)
on 2010-12-23 19:17 *
By Vlad Dumitrescu
Status changed from New to Fixed
Status changed from New to Fixed
I'd say this is fixed, didn't had any reports for ages. We do have the "Reset" operation available, too.